Skip to content

Commit

Permalink
chore: fix build failure about env.INPUT_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamKelley committed Jul 30, 2021
1 parent 3f7b2a9 commit 9189012
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
- run: npm ci
- run: npx nx run spark:test
- run: npx nx run spark-e2e:e2e
# stories & tests depend on @prenda/spark-icons, but aren't included in build
# without this, Nx prevents build and requires icons be built first (circular dep)
- run: rm -rf ./libs/spark/stories ./libs/spark/test
- run: npx nx run spark:build
- uses: JS-DevTools/npm-publish@v1
Expand Down Expand Up @@ -45,6 +47,9 @@ jobs:
SLACK_TITLE: '@prenda/spark'
SLACK_MESSAGE: Failure
- run: npm run build:icons
# see https://github.com/JS-DevTools/npm-publish/issues/15
env:
INPUT_TOKEN: ''
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 9189012

Please sign in to comment.