build: Upgrade to Node 20 (#29) #57
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: | |
- '**' | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18, 20] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm ci | |
# The owning team will fix the issues and uncomment the steps after necessary linting and configuring changes | |
- name: Lint | |
run: npm run lint | |
# - name: Test | |
# run: | | |
# npm run test_compile | |
# npm run test_comments |