Bump send and express in /website #182
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test website deployment to GitHub Pages | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'website/**' | |
jobs: | |
test-deploy: | |
if: "! github.event.pull_request.head.repo.fork" | |
name: Test deployment | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: website | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v1 | |
with: | |
just-version: '1.14.0' # just for sanity | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
cache-dependency-path: '**/package-lock.json' | |
- uses: coursier/cache-action@v6 | |
- uses: coursier/setup-action@v1 | |
with: | |
apps: mdoc | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Test build website | |
run: yarn build | |
- name: Run mdoc | |
run: just test-markdown |