Skip to content

Commit 6475024

Browse files
committed
build: fix publish yaml
1 parent 42d2198 commit 6475024

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/publish.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
with:
2222
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2323
fetch-depth: 0
24-
25-
- name: Setup PNPM
24+
25+
- name: Setup PNPM
2626
uses: pnpm/action-setup@v2.0.1
2727
with:
2828
version: 6.32.0
29-
29+
3030
- name: Setup Node.js 16.x
3131
uses: actions/setup-node@v2
3232
with:
@@ -37,12 +37,12 @@ jobs:
3737
run: pnpm install --frozen-lockfile
3838

3939
- name: Create Release Pull Request or Publish to npm
40-
uses: changesets/action@v1
41-
with:
42-
commit: "chore: update versions"
43-
title: "chore: update versions"
44-
version: pnpm changeset version
45-
publish: pnpm changeset publish
46-
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
40+
uses: changesets/action@v1
41+
with:
42+
commit: "chore: update versions"
43+
title: "chore: update versions"
44+
version: pnpm changeset version
45+
publish: pnpm changeset publish
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)