chore: release main #729
This file contains hidden or 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
on: | |
push: | |
pull_request: | |
name: ci | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node: [18, 20] | |
include: | |
# use latest npm by default | |
- npm-version: 10.9.2 | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: node --version | |
- name: Upgrade to latest npm to support lockfile v2 | |
run: npm install -g npm@${{ matrix.npm-version }} | |
- run: npm ci --verbose && npm ci --verbose | |
- run: npm run test |