Skip to content

Commit

Permalink
update CI commands and node.js versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nfriedly committed Sep 22, 2023
1 parent 30e0dd0 commit ce62aae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
- name: Check for lint/formatting errors
run: |
npm ci
npx eslint .
npm run lint
test:
name: Test
strategy:
matrix:
node-version: [lts/*, latest]
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- node-version: 14
- node-version: 16
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Run library tests
run: |
npm ci
npx jest
npm run test:lib
publish:
name: Publish
needs: [lint, test]
Expand All @@ -49,7 +49,7 @@ jobs:
uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
node-version: lts/*
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit ce62aae

Please sign in to comment.