Skip to content

ci: automate GitHub Pages deployment #2

ci: automate GitHub Pages deployment

ci: automate GitHub Pages deployment #2

name: Test deployment
on:
pull_request:
branches:
- main
defaults:
run:
working-directory: ./website
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
- name: Build prettier-java-plugin
working-directory: ../packages/prettier-plugin-java
run: yarn build
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test build website
run: yarn build