File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 27
27
- name : Install dependencies
28
28
run : pnpm install
29
29
30
- - name : Release the package
31
- run : pnpm run release
30
+ - name : Check if beta release
31
+ id : check-beta
32
+ run : |
33
+ if [[ ${{ github.ref_name }} =~ -beta ]]; then
34
+ echo "IS_BETA=true" >> $GITHUB_OUTPUT
35
+ else
36
+ echo "IS_BETA=false" >> $GITHUB_OUTPUT
37
+ fi
38
+
39
+ - name : Release beta package
40
+ if : steps.check-beta.outputs.IS_BETA == 'true'
41
+ run : pnpm run release:beta
32
42
env :
33
43
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
34
44
35
-
45
+ - name : Release stable package
46
+ if : steps.check-beta.outputs.IS_BETA == 'false'
47
+ run : pnpm run release
48
+ env :
49
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @lambdatest/smartui-cli" ,
3
- "version" : " 4.1.2" ,
3
+ "version" : " 4.1.2-beta.0 " ,
4
4
"description" : " A command line interface (CLI) to run SmartUI tests on LambdaTest" ,
5
5
"files" : [
6
6
" dist/**/*"
You can’t perform that action at this time.
0 commit comments