Skip to content

Commit

Permalink
Jobs: Bump Node.js version to v18 (#953)
Browse files Browse the repository at this point in the history
Jobs were using a mix of v14 and v16, while `package.json` advertized that
v10 was all good. Update switches everything to v18.

This is in preparation for #952 since Reffy v13 requires Node.js v18 (at least
in theory).
  • Loading branch information
tidoust authored Apr 25, 2023
1 parent f3a9add commit f93580a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clean-patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: 18

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: 18
- name: Run clean up
run: node tools/clean-abandoned-files.js
- uses: peter-evans/create-pull-request@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/curate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: 18

- name: Checkout webref
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: 18

- name: Checkout latest version of release script
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/request-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: 18

- name: Checkout webref
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: 18
- name: Install dependencies
run: npm ci
- name: Prepare curated and packages data
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-ed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 18

# Temp (2023-01-07): Force version of node-fetch, pending resolution of:
# https://github.com/node-fetch/node-fetch/issues/1701
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 18

- name: Install reffy
run: npm install reffy
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"license": "MIT",
"engines": {
"node": ">=10"
"node": ">=18"
},
"devDependencies": {
"@actions/core": "1.10.0",
Expand Down

0 comments on commit f93580a

Please sign in to comment.