Skip to content

Commit

Permalink
Set NPM_TOKEN in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgraham committed Nov 20, 2024
1 parent 33ff427 commit 042e2f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@ jobs:
with:
node-version: 20
cache: yarn
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install dependencies
run: |
yarn config set network-timeout 300000
yarn install --prefer-offline
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build
continue-on-error: false
run: yarn build
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 042e2f7

Please sign in to comment.