File tree Expand file tree Collapse file tree 6 files changed +30
-55
lines changed
Expand file tree Collapse file tree 6 files changed +30
-55
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.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 --access public
Original file line number Diff line number Diff line change @@ -12,18 +12,20 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15+ - uses : bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4
16+
1517 - name : Check out Git repository
16- uses : actions/checkout@v3
18+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1719
1820 - name : Install Foundry
19- uses : foundry-rs/foundry-toolchain@v1
21+ uses : foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
2022 with :
21- version : stable
23+ version : v1.3.6
2224
2325 - name : Lint
2426 run : forge fmt --check
2527
26- - uses : actions/cache@v3
28+ - uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
2729 name : Configure npm caching
2830 with :
2931 path : ~/.npm
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4
13+
14+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1315
1416 - name : Set up node
15- uses : actions/setup-node@v1
17+ uses : actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6
1618 with :
1719 node-version : 16
1820
1921 - name : Set up Python 3.8
20- uses : actions/setup-python@v2
22+ uses : actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
2123 with :
2224 python-version : 3.8
2325
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,14 +11,16 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4
15+
16+ - uses : actions/checkout@v5 # v5.0.0
1517 with :
1618 submodules : recursive
1719
1820 - name : Install Foundry
19- uses : foundry-rs/foundry-toolchain@v1
21+ uses : foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
2022 with :
21- version : stable
23+ version : v1.3.6
2224
2325 - name : Build
2426 run : forge build
Original file line number Diff line number Diff line change @@ -13,14 +13,16 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4
17+
18+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1719 with :
1820 submodules : recursive
1921
2022 - name : Install Foundry
21- uses : foundry-rs/foundry-toolchain@v1
23+ uses : foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
2224 with :
23- version : stable
25+ version : v1.3.6
2426
2527 - name : Show Forge version
2628 run : |
You can’t perform that action at this time.
0 commit comments