chore: update node version #736
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
# Ensure build and tests pass | |
name: Build Test | |
on: | |
pull_request: | |
branches: | |
- main | |
# Only keep one active build per ref (e.g. pr branch, push branch, triggering workflow ref) | |
concurrency: | |
group: app-build-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
cache: 'yarn' | |
- name: Install node modules | |
run: yarn install --immutable | |
- run: yarn lint | |
# - run: yarn nx test | |
# Ensure can also build | |
- run: yarn nx build |