Skip to content

Commit 69e0537

Browse files
authored
Merge pull request #556 from m-shaka/use-changesets-action
fix: use changesets action
2 parents 10b71dd + 10c1e4b commit 69e0537

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/release.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,12 @@ jobs:
4444

4545
- run: npm i
4646

47-
- name: Creating .npmrc
48-
run: |
49-
cat << EOF > "$HOME/.npmrc"
50-
//registry.npmjs.org/:_authToken=$NPM_TOKEN
51-
EOF
47+
- name: release
48+
id: changesets
49+
uses: changesets/action@v1
50+
with:
51+
publish: npm run release
5252
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5354
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
54-
55-
- name: Release
56-
run: npm run release
55+

0 commit comments

Comments
 (0)