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:
21
21
contents : write
22
22
23
23
steps :
24
+ - uses : actions/checkout@v3
25
+ with :
26
+ fetch-depth : 5
24
27
- uses : actions/setup-node@v3
25
28
- run : |
26
29
npm --version
27
30
# corepack enable npm
28
31
npm install -g $(jq -r '.packageManager' < package.json)
29
32
npm --version
30
- - uses : actions/checkout@v3
31
- with :
32
- fetch-depth : 5
33
33
- run : |
34
34
git checkout -b ${{ github.event.client_payload.branch_name }}
35
35
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:
21
21
contents : write
22
22
23
23
steps :
24
- - uses : actions/setup-node@v3
25
24
- uses : actions/checkout@v3
26
25
with :
27
26
ref : ${{ github.event.client_payload.branch_name }}
27
+ - uses : actions/setup-node@v3
28
28
- run : |
29
29
npm --version
30
30
# corepack enable npm
You can’t perform that action at this time.
0 commit comments