Skip to content

Commit 0fc70df

Browse files
authored
Merge pull request #28 from phantom/kuba/fix-publishing
do not use changesets to do the publish, publish manually instead
2 parents 43e8be7 + ff0a05d commit 0fc70df

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,15 @@ jobs:
4040
- name: Install Dependencies
4141
run: yarn
4242

43-
- name: Create Release Pull Request or Publish to npm
43+
- name: Create Release Pull Request
4444
id: changesets
4545
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba
4646
with:
47-
# This expects you to have a script called release which does a build for your packages and calls changeset publish
4847
version: yarn changeset version
49-
publish: yarn release
5048
commitMode: github-api
5149
env:
5250
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
# we use trusted publishing and setup-node will set these incorrectly. Unset if we ever use RO_TOKEN
54-
NODE_AUTH_TOKEN: ""
55-
NPM_CONFIG_PROVENANCE: true
51+
52+
- name: Publish to npm (OIDC Trusted Publishing)
53+
if: steps.changesets.outputs.hasChangesets == 'false'
54+
run: yarn release

0 commit comments

Comments
 (0)