Skip to content

Commit

Permalink
Actually makes publish action work
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Aug 2, 2023
1 parent ba627d1 commit efff7e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm version from-git
- run: npm ci
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -38,8 +38,8 @@ jobs:
# Rename package name to include scope for GitHub Packages
- run: |
sed -i "s/\"name\": \"${{ github.event.repository.name }}\"/\"name\": \"@${{ github.repository_owner }}\/${{ github.event.repository.name }}\"/" package.json
- run: npm version from-git
- run: npm ci
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit efff7e4

Please sign in to comment.