Skip to content

Commit

Permalink
build(test.yml): set node-version to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Sep 17, 2021
1 parent 5fc65e4 commit 8061852
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: Test

on:
"on":
push:
branches:
- master
- renovate/**

pull_request:
types:
- opened
- synchronize

jobs:
test_matrix:
strategy:
Expand All @@ -19,9 +16,7 @@ jobs:
- 10
- 12
- 14

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -31,9 +26,6 @@ jobs:
cache: npm
- run: npm ci
- run: npm run test:ci

# separate job to set as required in branch protection,
# as the build names above change each time Node versions change
test:
runs-on: ubuntu-latest
needs: test_matrix
Expand All @@ -42,5 +34,6 @@ jobs:
- uses: actions/setup-node@v2
with:
cache: npm
node-version: 16
- run: npm ci
- run: npm run lint

0 comments on commit 8061852

Please sign in to comment.