Bump node version from 12 to 16 and bump 'actions/setup-node' GHA fro… #15
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
# https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
name: Build | |
on: | |
- push | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- Windows-2019 | |
- macOS-10.15 | |
- Ubuntu-18.04 | |
- Ubuntu-20.04 | |
nodejs: | |
- 16 | |
fail-fast: false | |
steps: | |
- name: Turn off auto-crlf | |
run: git config --global core.autocrlf false | |
- name: Checkout source codes | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.nodejs }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Verify | |
run: npm run verify |