Skip to content

Upgrade to node 20 #801

Upgrade to node 20

Upgrade to node 20 #801

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
merge_group:
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- run: |
pnpm i --frozen-lockfile
- run: |
pnpm run all
- name: Verify no unstaged changes
run: __test__/verify-no-unstaged-changes.sh
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
pr-build-test:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: pnpm/action-setup@v4
with:
version: 8
- run: |
pnpm i --frozen-lockfile
- run: |
pnpm run build
- uses: ./