Skip to content

Commit

Permalink
update the version of node running the tests and linting (styleguidis…
Browse files Browse the repository at this point in the history
…t#1811)

Co-authored-by: Jason Williams <[email protected]>
  • Loading branch information
jasonwilliams and Jason Williams authored May 21, 2021
1 parent 127f1db commit 7a945a4
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '16'

- run: npm ci
- run: npm run test:coverage -- --runInBand
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/danger-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: danger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 9 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '16'

- run: npm ci
- run: npm run lint
Expand All @@ -25,7 +27,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '16'

- run: npm ci
- run: npm run compile
Expand All @@ -48,22 +52,21 @@ jobs:
npm run test:cypress:pre
npm run test:cypress:startServer &
npm run test:cypress:startServer:post
npm run test:cypress:run
npm run test:cypress:run
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version:
- 10.x
- 12.x
- '16'

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: '16'

- run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10
v16
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"templates"
],
"engines": {
"node": ">=10"
"node": ">=14"
},
"dependencies": {
"@tippyjs/react": "4.1.0",
Expand Down

0 comments on commit 7a945a4

Please sign in to comment.