Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Benji Visser <[email protected]>
  • Loading branch information
noqcks committed Apr 26, 2024
1 parent aa21875 commit 678e3f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-cli-on-prerelease-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
with:
script: require('./.github/versioning.js').verify({ github, context, core })

- name: set publishing config
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- run: pnpm i
- run: pnpm --filter=bumpgen run build
- run: pnpm --filter=bumpgen publish --tag next --access public
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-core-on-prerelease-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
with:
script: require('./.github/versioning.js').verify({ github, context, core })

- name: set publishing config
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- run: pnpm i
- run: pnpm --filter=@repo/bumpgen-core run build
- run: pnpm --filter=@repo/bumpgen-core publish --tag next --access public
Expand Down
6 changes: 0 additions & 6 deletions tooling/github/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ runs:
registry-url: "https://registry.npmjs.org"
cache: "pnpm"

- name: set publishing config
shell: bash
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- shell: bash
run: pnpm add -g turbo

Expand Down

0 comments on commit 678e3f8

Please sign in to comment.