Skip to content

Commit

Permalink
Update CI settings (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed May 2, 2022
1 parent dca1ca5 commit 046967c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/nodejs.yml
Expand Up @@ -3,28 +3,28 @@ name: CI
on:
push:
branches:
- master
- main
- 'dependabot/**'
pull_request:
branches:
- '**'

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

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node: [12]
os: [ubuntu-latest]
node: [12, 14, 16, 18]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm
Expand All @@ -35,5 +35,5 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint
- name: Test
run: npm test

0 comments on commit 046967c

Please sign in to comment.