This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +59
-5
lines changed Expand file tree Collapse file tree 3 files changed +59
-5
lines changed Original file line number Diff line number Diff line change 14
14
- uses : actions/checkout@v3
15
15
- uses : actions/setup-node@v3
16
16
with :
17
- node-version : 20 .x
17
+ node-version : 16 .x
18
18
cache : ' yarn'
19
19
- run : yarn --frozen-lockfile
20
20
- run : yarn build
25
25
- uses : actions/checkout@v3
26
26
- uses : actions/setup-node@v3
27
27
with :
28
- node-version : 20 .x
28
+ node-version : 16 .x
29
29
cache : ' yarn'
30
30
- run : yarn --frozen-lockfile
31
31
- run : yarn build
36
36
- uses : actions/checkout@v3
37
37
- uses : actions/setup-node@v3
38
38
with :
39
- node-version : 20 .x
39
+ node-version : 16 .x
40
40
cache : ' yarn'
41
41
- run : yarn --frozen-lockfile
42
42
- run : yarn build
48
48
- uses : actions/checkout@v3
49
49
- uses : actions/setup-node@v3
50
50
with :
51
- node-version : 20 .x
51
+ node-version : 16 .x
52
52
cache : ' yarn'
53
53
- run : yarn --frozen-lockfile
54
54
- run : yarn build
Original file line number Diff line number Diff line change
1
+ name : Release (canary)
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ paths :
8
+ - ' packages/backend-tools/**'
9
+ - ' packages/uif/**'
10
+ - ' .github/workflows/release-canary.yml'
11
+
12
+ jobs :
13
+ release-canary :
14
+ name : Release (canary)
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ - uses : actions/setup-node@v3
19
+ with :
20
+ node-version : 16.x
21
+ cache : ' yarn'
22
+
23
+ - run : yarn --frozen-lockfile
24
+ - run : yarn build
25
+
26
+ - name : Set backend-tools version
27
+ run : |
28
+ # yarn changeset version
29
+ cd packages/backend-tools
30
+ npm pkg set version=$(cat package.json | jq .version -r)-canary.$(date +'%Y%m%dT%H%M%S')
31
+ echo "Version changed: $(npm pkg get version)"
32
+
33
+ - name : Set uif version
34
+ run : |
35
+ # yarn changeset version
36
+ cd packages/uif
37
+ npm pkg set version=$(cat package.json | jq .version -r)-canary.$(date +'%Y%m%dT%H%M%S')
38
+ echo "Version changed: $(npm pkg get version)"
39
+
40
+ - name : Publish backend-tools to npm
41
+ uses : JS-DevTools/npm-publish@v1
42
+ with :
43
+ package : packages/backend-tools/package.json
44
+ token : ${{ secrets.NPM_TOKEN }}
45
+ dry-run : false
46
+ tag : canary
47
+
48
+ - name : Publish uif to npm
49
+ uses : JS-DevTools/npm-publish@v1
50
+ with :
51
+ package : packages/uif/package.json
52
+ token : ${{ secrets.NPM_TOKEN }}
53
+ dry-run : false
54
+ tag : canary
Original file line number Diff line number Diff line change 1
- 20
1
+ 16
You can’t perform that action at this time.
0 commit comments