Skip to content

Commit

Permalink
chore(infra): setup steps for npm deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-uniswap committed Jul 4, 2024
1 parent ece2940 commit 974c6db
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,23 @@ jobs:
# Refer to it by calling env.NPM_TOKEN
# This token is also limited by IP to ONLY work on the runner
NPM_TOKEN: op://npm-deploy/npm-runner-token/secret

- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744

- name: Setup Node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7
with:
cache: yarn
node-version: 18

- name: Install dependencies
run: yarn install --immutable --immutable-cache

- name: Release
env:
NPM_CONFIG_USERCONFIG: /dev/null
NPM_TOKEN: ${{ env.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional
run: yarn g:release

0 comments on commit 974c6db

Please sign in to comment.