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 1320634 commit a8ed490
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
scope: "@uniswap"

- name: Release
env:
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm set "//registry.npmjs.org/:_authToken" ${{ env.NPM_TOKEN }}
npm login
npm publish --provenance --access public --dry-run
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand All @@ -47,15 +56,3 @@ 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 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm publish --provenance --access public

0 comments on commit a8ed490

Please sign in to comment.