File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ jobs:
2121 contents : write
2222
2323 steps :
24+ - uses : actions/checkout@v3
25+ with :
26+ fetch-depth : 5
2427 - uses : actions/setup-node@v3
2528 - run : |
2629 npm --version
2730 # corepack enable npm
2831 npm install -g $(jq -r '.packageManager' < package.json)
2932 npm --version
30- - uses : actions/checkout@v3
31- with :
32- fetch-depth : 5
3333 - run : |
3434 git checkout -b ${{ github.event.client_payload.branch_name }}
3535 sed -i -e 's/"version": ".*"/"version": "${{ github.event.client_payload.package_version }}"/g' package.json
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ jobs:
2121 contents : write
2222
2323 steps :
24- - uses : actions/setup-node@v3
2524 - uses : actions/checkout@v3
2625 with :
2726 ref : ${{ github.event.client_payload.branch_name }}
27+ - uses : actions/setup-node@v3
2828 - run : |
2929 npm --version
3030 # corepack enable npm
You can’t perform that action at this time.
0 commit comments