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
22on :
33 push :
4- branches : [master]
4+ branches :
5+ - master
56
67jobs :
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
22
33on :
44 push :
88
99jobs :
1010 lint :
11- name : Lint
1211 runs-on : ubuntu-latest
1312 steps :
1413 - name : Checkout Master
1918 - name : Use Node
2019 uses : actions/setup-node@v3
2120 with :
22- node-version : 16
21+ node-version : 18
2322
2423 - name : Cache Yarn
2524 uses : actions/cache@v3
3635 run : yarn lint
3736
3837 typecheck :
39- name : TypeScript Type Checking
38+ name : typecheck / graphql v${{matrix.graphql_version}}
4039 runs-on : ubuntu-latest
4140 strategy :
4241 matrix :
5150 - name : Use Node
5251 uses : actions/setup-node@v3
5352 with :
54- node-version : 16
53+ node-version : 18
5554
5655 - name : Cache Yarn
5756 uses : actions/cache@v3
@@ -77,13 +76,13 @@ jobs:
7776 path : packages/plugin/dist
7877
7978 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
8180 timeout-minutes : 60
8281 runs-on : ubuntu-latest
8382 needs : [typecheck]
8483 strategy :
8584 matrix :
86- node_version : [12, 16]
85+ node_version : [12, 16, 18 ]
8786 graphql_version : [15, 16]
8887
8988 steps :
You can’t perform that action at this time.
0 commit comments