File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : V4 BETA Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - v4-dev
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v2
13
+ with :
14
+ node-version : 18
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 beta4 --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