Skip to content

Commit

Permalink
ci: fix development releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Sep 11, 2023
1 parent e68ab16 commit 0d40855
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ jobs:
- name: Build dependencies
run: pnpm run build

- name: Set the registry
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}

- name: Publish package
run: |
pnpm --filter=${{ matrix.package }} run release --preid "dev.$(date +%s)-$(git rev-parse --short HEAD)"
Expand Down

0 comments on commit 0d40855

Please sign in to comment.