Skip to content

Commit

Permalink
Update to Node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
xylo04 committed Nov 30, 2024
1 parent 4593420 commit b4d30d7
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Deploy to Firebase
'on': workflow_dispatch
on: workflow_dispatch

jobs:
build_and_deploy:
Expand All @@ -10,7 +10,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
node-version: '22'

- name: Install web dependencies
run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '20'
node-version: '22'

- name: Checkout
uses: actions/checkout@v4
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '20'
node-version: '22'

- name: Checkout
uses: actions/checkout@v4
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '20'
node-version: '22'

- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-func.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'

- name: Cache node deps
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
},
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "file:///Users/chris/src/RMHAM/co-ares-catalog/.github/workflows/deploy.yml"
}
}
2 changes: 1 addition & 1 deletion firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"test": "firebase emulators:exec --project=open-ics --only=firestore 'mocha --exit firestore.spec.js'"
},
"engines": {
"node": ">= 20"
"node": ">= 22"
},
"devDependencies": {
"@firebase/rules-unit-testing": "3.0.4",
Expand Down
2 changes: 1 addition & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "npm run build && mocha --reporter spec ./build/ --recursive"
},
"engines": {
"node": "20"
"node": "22"
},
"main": "build/src/index.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"private": true,
"engines": {
"node": ">=20"
"node": ">=22"
},
"dependencies": {
"@angular/animations": "18.2.8",
Expand Down

0 comments on commit b4d30d7

Please sign in to comment.