Skip to content

Commit

Permalink
npm deploy (#941)
Browse files Browse the repository at this point in the history
* npm deploy

* Update deploy.yaml

* Update deploy.yaml

* Update deploy.yaml

* Update deploy.yaml

* Update deploy.yaml
  • Loading branch information
mr-uniswap authored Feb 6, 2025
1 parent e2199ec commit d418562
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744

- name: Setup Node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7
uses: actions/setup-node@v4.2.0
with:
node-version: 18
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
scope: "@uniswap"

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand All @@ -49,7 +50,8 @@ jobs:

- name: Release
env:
NPM_CONFIG_USERCONFIG: /dev/null
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm publish
run: |
npm set "//registry.npmjs.org/:_authToken" ${{ env.NPM_TOKEN }}
npm publish --provenance --access public

0 comments on commit d418562

Please sign in to comment.