File tree Expand file tree Collapse file tree 5 files changed +32
-95
lines changed Expand file tree Collapse file tree 5 files changed +32
-95
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Tests
1
+ name : test
2
2
on :
3
3
pull_request :
4
4
branches :
5
5
- main
6
6
7
7
jobs :
8
- test- node :
9
- name : Testing on Node ${{ matrix.node-version }}
8
+ node :
9
+ name : v ${{ matrix.node-version }}
10
10
runs-on : ubuntu-latest
11
11
strategy :
12
12
matrix :
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
+ - main
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
1
name : release
2
-
3
2
on :
4
3
push :
5
4
branches :
6
5
- main
7
6
8
7
jobs :
9
- release :
10
- name : stable
11
- runs-on : ubuntu-latest
12
- steps :
13
- - name : Checkout
14
- uses : actions/checkout@v3
15
- with :
16
- fetch-depth : 0
17
-
18
- - name : Use Node
19
- uses : actions/setup-node@v3
20
- with :
21
- node-version : 18
22
- cache : ' yarn'
23
-
24
- - name : Install Dependencies using Yarn
25
- run : yarn
26
-
27
- - name : Build Packages
28
- run : yarn build
29
-
30
- - name : set version variables
31
- id : vars
32
- shell : bash
33
- run : |
34
- echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
35
- echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
36
-
37
- - name : Create Release Pull Request or Publish to npm
38
- id : changesets
39
- uses :
dotansimha/[email protected]
40
- with :
41
- publish : yarn release
42
- commit : ' chore(release): update monorepo packages versions'
43
- title : ' Upcoming Release Changes'
44
- createGithubReleases : aggregate
45
- githubReleaseName : ' Release ${{ steps.vars.outputs.sha_short }} (from ${{ steps.vars.outputs.branch }})'
46
- env :
47
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
- 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 }}
You can’t perform that action at this time.
0 commit comments