Skip to content

Commit 5a662b2

Browse files
Moerlin1337Merlin Flach
authored andcommitted
ci: allow passing node version via secrets (#80)
Co-authored-by: Merlin Flach <[email protected]>
1 parent 11c13e9 commit 5a662b2

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/release-beta.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: actions/checkout@v2
5353
- uses: actions/setup-node@v3
5454
with:
55-
node-version: ${{ secrets.NPM_VERSION }}
55+
node-version: ${{ secrets.NODE_VERSION }}
5656
- name: Install node_modules
5757
run: npm ci
5858
- name: Build Files
@@ -77,6 +77,9 @@ jobs:
7777
steps:
7878
- name: Checkout
7979
uses: actions/checkout@v2
80+
- uses: actions/setup-node@v3
81+
with:
82+
node-version: ${{ secrets.NODE_VERSION }}
8083
- uses: actions/download-artifact@v3
8184
with:
8285
name: dist

.github/workflows/release-main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: actions/checkout@v2
5353
- uses: actions/setup-node@v3
5454
with:
55-
node-version: ${{ secrets.NPM_VERSION }}
55+
node-version: ${{ secrets.NODE_VERSION }}
5656
- name: Install node_modules
5757
run: npm ci
5858
- name: Build Files
@@ -82,6 +82,9 @@ jobs:
8282
steps:
8383
- name: Checkout
8484
uses: actions/checkout@v2
85+
- uses: actions/setup-node@v3
86+
with:
87+
node-version: ${{ secrets.NODE_VERSION }}
8588
- uses: actions/download-artifact@v3
8689
with:
8790
name: dist
@@ -104,7 +107,7 @@ jobs:
104107
uses: actions/checkout@v2
105108
- uses: actions/setup-node@v3
106109
with:
107-
node-version: ${{ secrets.NPM_VERSION }}
110+
node-version: ${{ secrets.NODE_VERSION }}
108111
- uses: actions/download-artifact@v3
109112
with:
110113
name: node_modules

0 commit comments

Comments
 (0)