Skip to content

Commit f9835a7

Browse files
committed
Update Changesets
1 parent 9346d8a commit f9835a7

File tree

3 files changed

+6163
-6905
lines changed

3 files changed

+6163
-6905
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,20 @@ name: Release
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
release:
1010
name: Release
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout Repo
14-
uses: actions/checkout@master
15-
with:
16-
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
17-
fetch-depth: 0
14+
uses: actions/checkout@v3
1815

1916
- name: Setup Node.js 12.x
20-
uses: actions/setup-node@master
17+
uses: actions/setup-node@v3
2118
with:
22-
node-version: 12.x
19+
node-version: "14"
2320

2421
- uses: actions/cache@v1
2522
with:
@@ -28,13 +25,13 @@ jobs:
2825
restore-keys: pnpm-
2926

3027
- name: Install pnpm
31-
run: npm i -g pnpm@4
28+
run: npm i -g pnpm@6.29.1
3229

3330
- name: Install Dependencies
3431
run: pnpm i
3532

3633
- name: Create Release Pull Request or Publish to npm
37-
uses: changesets/action@master
34+
uses: changesets/action@v1
3835
with:
3936
# this expects you to have a script called release which does a build for your packages and calls changeset publish
4037
publish: pnpm run release

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"@babel/preset-env": "^7.9.5",
1010
"@babel/preset-react": "^7.9.4",
1111
"@babel/preset-typescript": "^7.9.0",
12-
"@changesets/changelog-github": "^0.2.1",
13-
"@changesets/cli": "^2.5.1",
12+
"@changesets/changelog-github": "^0.4.4",
13+
"@changesets/cli": "^2.22.0",
1414
"@manypkg/cli": "^0.9.0",
1515
"@preconstruct/cli": "^1.1.4",
1616
"@types/jest": "^26.0.0",
@@ -38,4 +38,4 @@
3838
"newEntrypoints": true
3939
}
4040
}
41-
}
41+
}

0 commit comments

Comments
 (0)