Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #240 from puku0x/ci-fix-workflow
Browse files Browse the repository at this point in the history
Fix CI workflow
  • Loading branch information
abdonrd authored Dec 2, 2021
2 parents 09af2eb + 5cf73a2 commit c44f6b1
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
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 on Node.js LTS

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
- name: Use Node.js LTS
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,15 +41,16 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10, 12]
node: [12, 14, 16]

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 c44f6b1

Please sign in to comment.