Skip to content

Commit

Permalink
Run on Node 8.x, correct setup for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosavola committed Feb 23, 2022
1 parent 1ec11ec commit c66f3ba
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,27 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [8.x, 14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install --include=dev
- run: better-npm-run test
- run: npm install --include=dev --unsafe-perm
- run: npm i better-npm-run && better-npm-run test

lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: 8.x
cache: 'npm'
- run: npm install --include=dev
- run: npm install --include=dev --unsafe-perm
- run: npm run lint

0 comments on commit c66f3ba

Please sign in to comment.