Merge pull request #131 from pastak/changeset-release/master #222
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: Node CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x, 21.x, 22.x, 23.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: pnpm install, build, and test | |
run: | | |
pnpm install | |
pnpm run -r build | |
pnpm run -r lint:ci | |
pnpm -r test | |
env: | |
CI: true |