File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -11,28 +11,15 @@ jobs:
1111 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1212 with :
1313 ref : main
14- - name : Get main commit SHA
15- id : main-sha
16- run : echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
17- - name : Check cache for main build
18- id : cache-main
19- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
20- with :
21- path : ' *.tgz'
22- key : main-build-${{ steps.main-sha.outputs.sha }}
2314 - name : Use Node
24- if : steps.cache-main.outputs.cache-hit != 'true'
2515 uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2616 with :
2717 node-version : 24.x
2818 - name : Install Dependencies
29- if : steps.cache-main.outputs.cache-hit != 'true'
3019 run : npm ci --ignore-scripts
3120 - name : Build
32- if : steps.cache-main.outputs.cache-hit != 'true'
3321 run : npm run build
3422 - name : Pack
35- if : steps.cache-main.outputs.cache-hit != 'true'
3623 run : npm pack
3724 - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3825 with :
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ name: Dependency Diff
1919
2020on :
2121 pull_request :
22- types : [opened]
2322
2423jobs :
2524 diff_dependencies :
You can’t perform that action at this time.
0 commit comments