mirror of
https://github.com/github/codeql-action.git
synced 2025-12-28 18:20:08 +08:00
This commit only adds a single package and all of its transitive dependencies. The github-linguist package will be used for counting lines of code as a baseline for databases we are analyzing.
27 lines
616 B
YAML
27 lines
616 B
YAML
name: Node CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
node_version: [10.x, 12.x]
|
|
os: [ubuntu-latest, windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node_version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node_version }}
|
|
- run: echo ${{github.ref}}
|
|
- run: yarn
|
|
- run: yarn run lint
|
|
- run: yarn run test
|
|
env:
|
|
CI: true
|
|
PROGRESS: none
|
|
NODE_ENV: test
|
|
NODE_OPTIONS: --max_old_space_size=4096
|