File tree Expand file tree Collapse file tree 6 files changed +38
-136
lines changed Expand file tree Collapse file tree 6 files changed +38
-136
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : pr
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - master
6
+
7
+ jobs :
8
+ dependencies :
9
+ uses : the-guild-org/shared-config/.github/workflows/changesets-dependencies.yaml@main
10
+ secrets :
11
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
12
+
13
+ release :
14
+ uses : the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
15
+ with :
16
+ npmTag : alpha
17
+ buildScript : build
18
+ nodeVersion : 18
19
+ secrets :
20
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
21
+ npmToken : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
- name : Release
1
+ name : release
2
2
on :
3
3
push :
4
- branches : [master]
4
+ branches :
5
+ - master
5
6
6
7
jobs :
7
- build :
8
- runs-on : ubuntu-latest
9
- steps :
10
- - name : Checkout
11
- uses : actions/checkout@v3
12
- with :
13
- fetch-depth : 0
14
-
15
- - name : Use Node
16
- uses : actions/setup-node@v3
17
- with :
18
- node-version : 18
19
-
20
- - name : Cache Yarn
21
- uses : actions/cache@v3
22
- with :
23
- path : ' **/node_modules'
24
- key : ${{runner.os}}-18-18-node-modules-${{hashFiles('yarn.lock')}}
25
- restore-keys : |
26
- ${{runner.os}}-18-18-node-modules-
27
-
28
- - name : Install Dependencies
29
- run : yarn
30
-
31
- - name : set version variables
32
- id : vars
33
- shell : bash
34
- run : |
35
- echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
36
- echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
37
-
38
- - name : Create Release Pull Request or Publish to npm
39
- id : changesets
40
- uses :
dotansimha/[email protected]
41
- with :
42
- publish : ' yarn release'
43
- commit : ' chore(release): update monorepo packages versions'
44
- title : ' Upcoming Release Changes'
45
- createGithubReleases : aggregate
46
- githubReleaseName : " Release ${{ steps.vars.outputs.sha_short }} (from ${{ steps.vars.outputs.branch }})"
47
- env :
48
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
8
+ stable :
9
+ uses : the-guild-org/shared-config/.github/workflows/release-stable.yml@main
10
+ with :
11
+ releaseScript : release
12
+ nodeVersion : 18
13
+ secrets :
14
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
15
+ npmToken : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
- name : Tests
1
+ name : test
2
2
3
3
on :
4
4
push :
8
8
9
9
jobs :
10
10
lint :
11
- name : Lint
12
11
runs-on : ubuntu-latest
13
12
steps :
14
13
- name : Checkout Master
19
18
- name : Use Node
20
19
uses : actions/setup-node@v3
21
20
with :
22
- node-version : 16
21
+ node-version : 18
23
22
24
23
- name : Cache Yarn
25
24
uses : actions/cache@v3
36
35
run : yarn lint
37
36
38
37
typecheck :
39
- name : TypeScript Type Checking
38
+ name : typecheck / graphql v${{matrix.graphql_version}}
40
39
runs-on : ubuntu-latest
41
40
strategy :
42
41
matrix :
51
50
- name : Use Node
52
51
uses : actions/setup-node@v3
53
52
with :
54
- node-version : 16
53
+ node-version : 18
55
54
56
55
- name : Cache Yarn
57
56
uses : actions/cache@v3
@@ -77,13 +76,13 @@ jobs:
77
76
path : packages/plugin/dist
78
77
79
78
test :
80
- name : Testing on Node ${{matrix.node_version}} with GraphQL v${{matrix.graphql_version}} and ESLint v8
79
+ name : jest / node v ${{matrix.node_version}} / graphql v${{matrix.graphql_version}} / eslint v8
81
80
timeout-minutes : 60
82
81
runs-on : ubuntu-latest
83
82
needs : [typecheck]
84
83
strategy :
85
84
matrix :
86
- node_version : [12, 16]
85
+ node_version : [12, 16, 18 ]
87
86
graphql_version : [15, 16]
88
87
89
88
steps :
You can’t perform that action at this time.
0 commit comments