chore(deps-dev): bump the all group with 8 updates #469
Workflow file for this run
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: build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# waiting on: https://github.com/actions/setup-node/issues/531 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: yarn | |
- run: yarn install --immutable | |
- run: yarn format:check | |
- run: yarn lint | |
- run: yarn typecheck | |
- run: yarn build | |
- run: yarn test | |
- run: yarn lint | |
- name: test built package on node@22 | |
working-directory: ./package-test/ | |
run: | | |
# CI implies --immutable | |
yarn install --no-immutable | |
node -v | |
node test.cjs | |
node test.mjs | |
# Not using a matrix here since it's simpler | |
# to just duplicate it and not spawn new instances | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: test build package on node@20 | |
working-directory: ./package-test/ | |
run: | | |
node -v | |
node test.cjs | |
node test.mjs | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: test build package on node@18 | |
working-directory: ./package-test/ | |
run: | | |
node -v | |
node test.cjs | |
node test.mjs |