Skip to content

Commit

Permalink
Merge branch 'master' into add-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ntwb committed Sep 28, 2021
2 parents 6db6439 + 759b81f commit d9d673f
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/nodejs.yml
Expand Up @@ -9,27 +9,20 @@ on:
branches:
- '**'

env:
CI: true

jobs:
lint:
name: Lint on Node.js ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
name: Lint

strategy:
matrix:
node: [12]
os: [ubuntu-latest]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
node-version: 'lts/*'
cache: npm

- name: Install latest npm
run: npm install --global npm@latest
Expand All @@ -48,16 +41,17 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10, 12]
node: [12, 14, 16]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: npm

- name: Install latest npm
run: npm install --global npm@latest
Expand Down

0 comments on commit d9d673f

Please sign in to comment.