File tree Expand file tree Collapse file tree 2 files changed +38
-24
lines changed Expand file tree Collapse file tree 2 files changed +38
-24
lines changed Original file line number Diff line number Diff line change @@ -121,30 +121,7 @@ workflows:
121
121
filters :
122
122
branches :
123
123
ignore : /^(dev|master|v2)/
124
- release_next :
125
- jobs :
126
- - build :
127
- filters :
128
- branches :
129
- only :
130
- - dev
131
- - v2
132
- - build_next :
133
- requires :
134
- - build
135
- filters :
136
- branches :
137
- only :
138
- - dev
139
- - v2
140
- - publish_next :
141
- requires :
142
- - build_next
143
- filters :
144
- branches :
145
- only :
146
- - dev
147
- - v2
124
+
148
125
release :
149
126
jobs :
150
127
- build :
Original file line number Diff line number Diff line change
1
+ name : BETA Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - dev
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v1
13
+ with :
14
+ node-version : 14
15
+ registry-url : https://registry.npmjs.org/
16
+
17
+ - name : Install npm dependencies
18
+ run : npm i
19
+
20
+ - name : Update the package version
21
+ if : github.ref == 'refs/heads/dev'
22
+ run : node scripts/update-package-version.js $GITHUB_RUN_ID
23
+
24
+ - name : Update version number for telemetry
25
+ run : npm run versionUpdater
26
+
27
+ - name : Create/update the missing localization keys
28
+ run : npm run localization
29
+
30
+ - name : Run build
31
+ run : npm run build
32
+
33
+ - name : Publish beta release
34
+ run : npm publish --tag next --access public
35
+ if : github.ref == 'refs/heads/dev'
36
+ env :
37
+ NODE_AUTH_TOKEN : ${{secrets.NPM_PUBLISH_TOKEN}}
You can’t perform that action at this time.
0 commit comments