File tree 4 files changed +493
-138
lines changed
4 files changed +493
-138
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "$schema" :
" https://unpkg.com/@changesets/[email protected] /schema.json" ,
3
- "changelog" : " @changesets/cli/changelog" ,
2
+ "$schema" :
" https://unpkg.com/@changesets/[email protected] /schema.json" ,
3
+ "changelog" : [
4
+ " @changesets/changelog-github" ,
5
+ { "repo" : " graphql/dataloader" }
6
+ ],
4
7
"commit" : false ,
5
8
"fixed" : [],
6
9
"linked" : [],
7
10
"access" : " public" ,
8
11
"baseBranch" : " main" ,
9
12
"updateInternalDependencies" : " patch" ,
10
13
"ignore" : []
11
- }
14
+ }
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
release :
10
10
name : Release
11
- runs-on : ubuntu-latest
12
- steps :
13
- - 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
18
-
19
- - name : Setup Node.js 16.x
20
- uses : actions/setup-node@master
21
- with :
22
- node-version : 16.x
23
-
24
- - name : Get yarn cache
25
- uses : c-hive/gha-yarn-cache@v2
26
-
27
- - name : Install Dependencies using Yarn
28
- run : yarn --ignore-engines
29
-
30
- - name : Create Release Pull Request or Publish to npm
31
- id : changesets
32
- uses : changesets/action@master
33
- with :
34
- publish : npm run release
35
- commit : " release: update package versions"
36
- title : " Upcoming Release Changes"
37
- env :
38
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
11
+ uses : the-guild-org/shared-config/.github/workflows/release-stable.yml@main
12
+ with :
13
+ releaseScript : release
14
+ nodeVersion : 16
15
+ secrets :
16
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
17
+ npmToken : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 43
43
"@babel/node" : " 7.7.0" ,
44
44
"@babel/preset-env" : " 7.7.1" ,
45
45
"@babel/preset-flow" : " 7.0.0" ,
46
- "@changesets/cli" : " ^2.22.0" ,
46
+ "@changesets/cli" : " 2.24.3" ,
47
+ "@changesets/changelog-github" : " 0.4.6" ,
47
48
"babel-eslint" : " 10.0.3" ,
48
49
"eslint" : " 6.6.0" ,
49
50
"flow-bin" : " 0.112.0" ,
You can’t perform that action at this time.
0 commit comments