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

Fix CI workflow #240

Merged
merged 7 commits into from
Dec 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
ybiquitous marked this conversation as resolved.
Show resolved Hide resolved
Expand Down