Skip to content

Commit

Permalink
ci: fix doesn't create github releases 7
Browse files Browse the repository at this point in the history
  • Loading branch information
unnoq committed Apr 8, 2024
1 parent cde08c4 commit 0d16083
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ jobs:

- uses: pnpm/action-setup@v3

- run: pnpm i

- name: NPM registry authentication
run: pnpm config set -g '//registry.npmjs.org/:_authToken' \"${NPM_TOKEN}\"
run: pnpm config set '//registry.npmjs.org/:_authToken' \"${NPM_TOKEN}\"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- run: pnpm i

- name: Changesets version or deploy and publish on @latest
id: changesets
uses: changesets/action@v1
Expand All @@ -73,13 +73,13 @@ jobs:

- uses: pnpm/action-setup@v3

- run: pnpm i

- name: NPM registry authentication
run: pnpm config set -g '//registry.npmjs.org/:_authToken' \"${NPM_TOKEN}\"
run: pnpm config set '//registry.npmjs.org/:_authToken' \"${NPM_TOKEN}\"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- run: pnpm i

- run: pnpm changeset version --snapshot next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:

- uses: pnpm/action-setup@v3

- run: pnpm i

- name: NPM registry authentication
run: pnpm config set -g '//registry.npmjs.org/:_authToken' \"${NPM_TOKEN}\"
run: pnpm config set '//registry.npmjs.org/:_authToken' \"${NPM_TOKEN}\"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- run: pnpm i

- name: Context vars
id: vars
run: |
Expand Down

0 comments on commit 0d16083

Please sign in to comment.