Skip to content

Commit 5c78825

Browse files
committed
fix: Setup nodejs in release actions
1 parent d6a318b commit 5c78825

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ jobs:
5959
with:
6060
file: package.json
6161
tagFormat: v${version}
62-
62+
63+
- name: Setup nodejs
64+
uses: actions/setup-node@v1
65+
with:
66+
node-version: '12.x'
67+
6368
- name: Publish Release
6469
id: create_release
6570
uses: actions/create-release@latest
@@ -105,6 +110,11 @@ jobs:
105110
file: package.json
106111
tagFormat: v${version}-beta
107112

113+
- name: Setup nodejs
114+
uses: actions/setup-node@v1
115+
with:
116+
node-version: '12.x'
117+
108118
- name: Download Artifact
109119
uses: actions/download-artifact@v2
110120
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "juno-node",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "",
55
"keywords": [],
66
"main": "dist/juno-node.cjs.js",

0 commit comments

Comments
 (0)