Skip to content

Commit

Permalink
Use node 15 only
Browse files Browse the repository at this point in the history
This will speed up CI
In the case where a run does fail, there is less to retry etc
Dockerfile currently uses 15, so just use that...
  • Loading branch information
addshore committed Feb 5, 2024
1 parent ffcf7ca commit 8dbb745
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/netlify-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
with:
env-file: .env.development.mock

- name: Use Node.js 14.x
- name: Use Node.js 15.x
uses: actions/[email protected]
with:
node-version: 14.x
node-version: 15.x
- run: npm ci
- run: npm run build

Expand Down Expand Up @@ -48,10 +48,10 @@ jobs:
with:
env-file: .env.development.prod

- name: Use Node.js 14.x
- name: Use Node.js 15.x
uses: actions/[email protected]
with:
node-version: 14.x
node-version: 15.x
- run: npm ci
- run: npm run build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [12, 14, 15]
node-version: [15]

steps:
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
],
"_id": "[email protected]",
"engines": {
"node": ">= 11.0.0",
"node": ">= 15.0.0",
"npm": ">= 6.4.1"
},
"gitHooks": {
Expand Down

0 comments on commit 8dbb745

Please sign in to comment.