Skip to content

Commit 5488a71

Browse files
committed
fix: release yml
1 parent 2a2637a commit 5488a71

1 file changed

Lines changed: 19 additions & 21 deletions

File tree

.github/workflows/release.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,25 @@ jobs:
1212
name: Release
1313
runs-on: ubuntu-latest
1414
steps:
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v3
15+
- name: Checkout
16+
uses: actions/checkout@v3
1817

19-
- name: Setup Node.js
20-
uses: actions/setup-node@v3
21-
with:
22-
node-version: 16
23-
cache: 'npm'
24-
cache-dependency-path: '**/package-lock.json'
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 16
22+
cache: 'npm'
23+
cache-dependency-path: '**/package-lock.json'
2524

26-
- run: npm ci
25+
- run: npm ci
2726

28-
- name: Publish to NPM
29-
id: changesets
30-
uses: changesets/action@v1
31-
with:
32-
# This expects you to have a script called release which does a build for your packages and calls changeset publish
33-
publish: npm run release
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
37-
TURBO_TOKEN: uxcAW0l2k5tgAZZTkPOriXky
38-
TURBO_TEAM: pedr0d1as
27+
- name: Publish to NPM
28+
id: changesets
29+
uses: changesets/action@v1
30+
with:
31+
publish: npm run release
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
TURBO_TOKEN: uxcAW0l2k5tgAZZTkPOriXky
36+
TURBO_TEAM: pedr0d1as

0 commit comments

Comments
 (0)