Skip to content

Commit 33a58be

Browse files
committed
Run release workflow on main
1 parent 96abdc6 commit 33a58be

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.changeset/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with mono-repos or single package repos to help you verion and release your code. You can find the full documentation for it [in our repository](https://github.com/changesets/changesets)
44

5-
We have a quick list of common questions to get you started engaging with this project in [our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)
5+
We have a quick list of common questions to get you started engaging with this project in [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"$schema": "https://unpkg.com/@changesets/config@0.3.0/schema.json",
33
"changelog": [
44
"@changesets/changelog-github",
5-
{ "repo": "mitchellhamilton/magical-types" }
5+
{
6+
"repo": "Thinkmill/magical-types"
7+
}
68
],
79
"commit": false,
810
"linked": [],
911
"access": "public",
10-
"baseBranch": "master"
11-
}
12+
"baseBranch": "main"
13+
}

.github/workflows/changeset-release.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +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-
fetch-depth: 0
14+
uses: actions/checkout@v3
1715

18-
- name: Setup Node.js 10.x
19-
uses: actions/setup-node@master
16+
- name: Setup Node.js 16
17+
uses: actions/setup-node@v3
2018
with:
21-
version: 10.x
19+
node-version: 16
2220

2321
- name: Install Yarn
2422
run: npm install --global yarn
@@ -27,9 +25,9 @@ jobs:
2725
run: yarn
2826

2927
- name: "Create Pull Request or Publish to npm"
30-
uses: changesets/action@master
28+
uses: changesets/action@v1
3129
with:
32-
publish: yarn release --otp=1
30+
publish: yarn release
3331
env:
3432
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3533
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)