Prevent undefined/null values from being used in optionals #559
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: Tests | |
on: [push, pull_request] | |
jobs: | |
test-node: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [14, 16, 18] | |
name: Node.js v${{ matrix.node-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "${{ matrix.node-version }}" | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: make node_modules | |
- name: Run checks | |
run: make check | |
- name: Run tests | |
run: make ci-test |