Skip to content

Node.js

Node.js #614

Workflow file for this run

name: Node.js
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ['14.0', '14.18', '14', '16']
steps:
- uses: actions/checkout@v4
with: { submodules: true }
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- if: matrix.node-version != 16
run: npm install --global npm@7
- run: npm ci
- run: npm install --no-save rollup@3
- run: npm test
- run: npm run test:dist