File tree Expand file tree Collapse file tree 4 files changed +19
-48
lines changed
Expand file tree Collapse file tree 4 files changed +19
-48
lines changed Original file line number Diff line number Diff line change @@ -14,32 +14,22 @@ jobs:
1414 id-token : write
1515 contents : write
1616 steps :
17- - name : Load secret
18- uses : 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0
19- with :
20- # Export loaded secrets as environment variables
21- export-env : true
22- env :
23- OP_SERVICE_ACCOUNT_TOKEN : ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
24- # You may need to change this to your vault name and secret name
25- # Refer to it by calling env.NPM_TOKEN
26- # This token is also limited by IP to ONLY work on the runner
27- NPM_TOKEN : op://npm-deploy/npm-runner-token/secret
17+ - uses : bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4
2818
2919 - name : Checkout
30- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
20+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3121
3222 - name : Setup Node
33- uses : actions/setup-node@v4.2 .0
23+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4 .0
3424 with :
3525 node-version : " 20.x"
3626 registry-url : " https://registry.npmjs.org"
3727 scope : " @uniswap"
3828
3929 - name : Install Foundry
40- uses : foundry-rs/foundry-toolchain@v1
30+ uses : foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
4131 with :
42- version : stable
32+ version : v1.3.6
4333
4434 - name : Install dependencies
4535 run : |
4838 - name : Compile
4939 run : forge build
5040
41+ - name : Install npm
42+ run : npm install -g npm@latest
43+
5144 - name : Release
52- env :
53- NODE_AUTH_TOKEN : ${{ env.NPM_TOKEN }}
54- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5545 run : |
56- npm set "//registry.npmjs.org/:_authToken" ${{ env.NPM_TOKEN }}
57- npm publish --provenance --access public
46+ npm publish
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4
16+
17+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1618 with :
1719 submodules : recursive
1820
1921 - name : Install Foundry
20- uses : foundry-rs/foundry-toolchain@v1
22+ uses : foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
2123 with :
22- version : stable
24+ version : v1.3.6
2325
2426 - name : Check format
2527 run : forge fmt --check
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4
16+
17+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1618 with :
1719 submodules : recursive
1820
1921 - name : Install Foundry
20- uses : foundry-rs/foundry-toolchain@v1
22+ uses : foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
2123 with :
22- version : stable
24+ version : v1.3.6
2325
2426 - name : Show Forge version
2527 run : |
You can’t perform that action at this time.
0 commit comments