3.17.5 #75
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: 21 | |
cache: npm | |
- run: npm ci | |
- name: test build package on node@21 (current) | |
run: | | |
node --version | |
npm --version | |
npm run test | |
# 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 (LTS) | |
run: | | |
node --version | |
npm --version | |
npm run test | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: test build package on node@18 (LTS) | |
run: | | |
node --version | |
npm --version | |
npm run test |