Skip to content

Add CodeQL Analysis #265

Add CodeQL Analysis

Add CodeQL Analysis #265

Workflow file for this run

on: [pull_request]
name: CI
defaults:
run:
shell: bash
jobs:
test-posix:
name: Unix tests
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [14.x, 16.x, 18.x, 19.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
check-latest: true
node-version: ${{ matrix.node-version }}
- name: Install [email protected]
if: ${{ matrix.node-version == '14.x' }}
run: npm install -g [email protected]
- name: Install Dependencies
run: npm install
- name: Test
run: npm test