Skip to content

Commit

Permalink
ci: Change CI to only publish via nx
Browse files Browse the repository at this point in the history
  • Loading branch information
gutentag2012 committed Apr 5, 2024
1 parent b0edf93 commit 688821b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ jobs:
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test
- run: |
# Use the version form the workflow input if it is set, otherwise use the version from the release
VERSION=${{ github.event.inputs.version || github.ref_name }}
pnpm nx release version --specifier $VERSION
pnpm nx release publish
- run: pnpm nx release publish
name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 688821b

Please sign in to comment.