Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-uniswap authored Feb 6, 2025
1 parent 5a6069e commit 1320634
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
scope: "@uniswap"
env:
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand All @@ -50,6 +48,12 @@ jobs:
- name: Compile
run: forge build

- name: Login
env:
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm set "//registry.npmjs.org/:_authToken" ${{ env.NPM_TOKEN }} && npm login

- name: Release
env:
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
Expand Down

0 comments on commit 1320634

Please sign in to comment.