Skip to content

Commit

Permalink
Merge pull request #204 from pplancq/bugfix/publishAction
Browse files Browse the repository at this point in the history
Use npm to publish package
  • Loading branch information
bencompton committed Mar 25, 2024
2 parents bb22908 + 3812742 commit 6149d18
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ jobs:
- name: Build Project
run: npm run build

- name: Remove node_modules
run: rm -Rf node_modules

- name: Publish if version has been updated
uses: pascalgn/npm-publish-action@1.3.9
with:
publish_command: "npm"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.JEST_CUCUMBER_NPM_TOKEN }}

0 comments on commit 6149d18

Please sign in to comment.