File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 runs-on : ubuntu-latest
2424 steps :
2525 - name : Checkout repo
26- uses : actions/checkout@v4
26+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2727 with :
2828 persist-credentials : false
2929 - name : Check if Node.js project and has package.json
Original file line number Diff line number Diff line change 4343 git config --global core.eol lf
4444 shell : bash
4545 - name : Checkout repository
46- uses : actions/checkout@v4
46+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4747 with :
4848 persist-credentials : false
4949 - name : Check if Node.js project and has package.json
5959 id : lockversion
6060 - if : steps.packagejson.outputs.exists == 'true'
6161 name : Setup Node.js
62- uses : actions/setup-node@v4
62+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
6363 with :
6464 node-version : " ${{ steps.lockversion.outputs.version }}"
6565 - if : steps.lockversion.outputs.version == '18' && matrix.os == 'windows-latest'
9999 git config --global core.autocrlf false
100100 git config --global core.eol lf
101101 - name : Checkout repository
102- uses : actions/checkout@v4
102+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
103103 with :
104104 persist-credentials : false
105105 - name : Check if Node.js project and has package.json
@@ -115,7 +115,7 @@ jobs:
115115 id : lockversion
116116 - if : steps.packagejson.outputs.exists == 'true'
117117 name : Setup Node.js
118- uses : actions/setup-node@v4
118+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
119119 with :
120120 node-version : " ${{ steps.lockversion.outputs.version }}"
121121 registry-url : " https://registry.npmjs.org"
Original file line number Diff line number Diff line change 2020 pull-requests : write # required to create PR with bumped version in package.json
2121 steps :
2222 - name : Checkout repository
23- uses : actions/checkout@v4
23+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424 with :
2525 # target branch of release. More info https://docs.github.com/en/rest/reference/repos#releases
2626 # in case release is created from release branch then we need to checkout from given branch
3939 id : lockversion
4040 - if : steps.packagejson.outputs.exists == 'true'
4141 name : Setup Node.js
42- uses : actions/setup-node@v4
42+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
4343 with :
4444 node-version : " ${{ steps.lockversion.outputs.version }}"
4545 cache : ' npm'
You can’t perform that action at this time.
0 commit comments