Update dependency node to v20 - autoclosed #2287
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: Node CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macOS-11, windows-2022, ubuntu-20.04] | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- name: configure git | |
run: git config --global core.autocrlf input | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install and build | |
run: | | |
npm install | |
npm run build | |
env: | |
CI: true | |
- name: npm test | |
run: npm test | |
env: | |
CI: true |