Skip to content

fix: issue 317 test #31

fix: issue 317 test

fix: issue 317 test #31

Workflow file for this run

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