File tree Expand file tree Collapse file tree 2 files changed +9
-43
lines changed
Expand file tree Collapse file tree 2 files changed +9
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,19 +13,16 @@ jobs:
1313 - name : Checkout code
1414 uses : actions/checkout@v4
1515
16- - name : Get latest successful build run-id
17- id : get_run_id
18- run : |
19- latest_run_id=$(gh api repos/${{ github.repository }}/actions/workflows/build.yml/runs \
20- -q '.workflow_runs | map(select(.conclusion == "success")) | first | .id')
21- echo "run_id=$latest_run_id" >> $GITHUB_ENV
22-
23- - name : Download build artifacts
24- uses : actions/download-artifact@v4
16+ - name : Set up Node.js
17+ uses : actions/setup-node@v4
2518 with :
26- name : build-artifacts
27- path : dist
28- run-id : ${{ env.run_id }}
19+ node-version : 20
20+
21+ - name : Install dependencies
22+ run : npm install
23+
24+ - name : Build project
25+ run : npm run build
2926
3027 - name : Create Release
3128 id : create_release
You can’t perform that action at this time.
0 commit comments