Skip to content

Commit

Permalink
Removes testing from the publish action too
Browse files Browse the repository at this point in the history
Since secrets don't get passed to it, apparently
  • Loading branch information
MarkSuckerberg committed Aug 2, 2023
1 parent a57195e commit d299140
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -39,7 +38,6 @@ jobs:
- run: |
sed -i "s/\"name\": \"${{ github.event.repository.name }}\"/\"name\": \"@${{ github.repository_owner }}\/${{ github.event.repository.name }}\"/" package.json
- run: npm ci
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit d299140

Please sign in to comment.