Skip to content

Commit

Permalink
chore: remove engines from package.json on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
parse committed Sep 30, 2024
1 parent 7a1ae4e commit 4acc13c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
env:
TAG_NAME: ${{ github.event.release.tag_name }}

- name: Delete engines field from package.json
run: npm pkg delete engines

- run: npm --ignore-scripts publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -59,6 +62,9 @@ jobs:
env:
TAG_NAME: ${{ github.event.release.tag_name }}

- name: Delete engines field from package.json
run: npm pkg delete engines

- run: npm --ignore-scripts publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
Expand Down

0 comments on commit 4acc13c

Please sign in to comment.