File tree 2 files changed +16
-3
lines changed
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
tagged-release :
11
- name : Tagged release
12
11
runs-on : ubuntu-latest
13
12
14
13
steps :
14
+ # Checkout the exact commit tagged on the release.
15
+ - name : Checkout repository
16
+ uses : actions/checkout@v3
17
+ with :
18
+ ref : ${{ github.event.release.target_commitish }}
19
+
20
+ - name : Use NodeJS
21
+ uses : actions/setup-node@v3
22
+ with :
23
+ node-version : 18.x
24
+
15
25
# If we can't build the release will be canceled.
16
- - name : Build
17
- run : npm run build
26
+ - name : Install dependencies and build
27
+ run : |
28
+ npm install
29
+ npm run build
18
30
19
31
- uses : marvinpinto/action-automatic-releases@latest
20
32
with :
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
release :
9
9
runs-on : ubuntu-latest
10
+
10
11
steps :
11
12
# Checkout the exact commit tagged on the release.
12
13
- name : Checkout repository
You can’t perform that action at this time.
0 commit comments