Skip to content

Commit

Permalink
fix: updated ci to fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Tirke committed Aug 8, 2022
1 parent 22146c6 commit 4859bcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm exec nx run-many --target=build --all --parallel
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
commit: 'chore: version packages'
title: 'chore: version packages'
publish: pnpm exec nx run-many --target=build --all --parallel && pnpm run release
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 4859bcb

Please sign in to comment.