Skip to content

Commit 1ff8e3b

Browse files
committed
chore(deps): Update nodejs version
1 parent 94bea9b commit 1ff8e3b

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/firebase-hosting-merge.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
env:
7-
NODE_VERSION: '16.5.0'
86
jobs:
97
build_and_deploy:
108
name: Build and Deploy to Live
@@ -14,10 +12,10 @@ jobs:
1412
url: https://bvarga.dev
1513
steps:
1614
- uses: actions/checkout@v2
17-
- name: Use Node.js ${{ env.NODE_VERSION }}
15+
- name: Use Node.js
1816
uses: actions/setup-node@v2
1917
with:
20-
node-version: ${{ env.NODE_VERSION }}
18+
node-version-file: '.node-version'
2119
- name: Cache node modules
2220
uses: actions/cache@v4
2321
env:

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
environment: staging
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Use Node.js ${{ env.NODE_VERSION }}
13+
- name: Use Node.js
1414
uses: actions/setup-node@v2
1515
with:
16-
node-version: ${{ env.NODE_VERSION }}
16+
node-version-file: '.node-version'
1717
- name: Cache node modules
1818
uses: actions/cache@v4
1919
env:

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.11.0

0 commit comments

Comments
 (0)