Skip to content

Update node.js.yml

Update node.js.yml #82

Workflow file for this run

name: NodeJS
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
node:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
group: [self-hosted]
node-version: [10.x, 12.x, 14.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install --ignore-scripts
- run: npm run lint
- run: npm run build
- run: npm run test