Skip to content

Commit

Permalink
fix(release): added --no-git-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Oct 16, 2022
1 parent 048be15 commit 2a89399
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -57,7 +56,7 @@ jobs:
run: ls -al ./dist

- name: Publish to NPM
run: pnpm publish --access public --tag latest
run: pnpm publish --access public --tag latest --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -71,6 +70,6 @@ jobs:
run: pnpm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}

- name: Publish the package to Github package registry
run: pnpm -r publish --access public --no-git-checks
run: pnpm publish --access public --tag latest --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 2a89399

Please sign in to comment.