fix: derive canonicalize result from UCD #199
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: run-checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Include all major maintenance + active LTS + current Node.js versions. | |
# https://github.com/nodejs/Release#release-schedule | |
node: [18, 20, 22] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js 22 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
- name: Install dependencies | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Set up Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Test | |
run: npm test | |
node-6-compat: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js 6 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 6 | |
- name: Install dependencies | |
run: npm install | |
- name: Install mocha 6 | |
run: npm install mocha@6 -D --save | |
- name: Test | |
run: npm run test-node6 |