11---
2- #
3- # Documentation:
4- # https://help.github.com/en/articles/workflow-syntax-for-github-actions
5- #
6-
7- # ######################################
8- # Start the job on all push to master #
9- # ######################################
10- name : ' Build & Deploy - Beta'
11- on :
12- push :
13- branches :
14- - master
15-
16- permissions : read-all
17-
18- concurrency :
19- group : ${{ github.ref_name }}-${{ github.workflow }}
20- cancel-in-progress : true
21-
22- # ##############
23- # Set the Job #
24- # ##############
25- jobs :
26-
27- # Deploy to NPM
28- deploy_to_npm :
29- name : Deploy to NPM (beta)
30- runs-on : ubuntu-latest
31- permissions :
32- contents : write # to be able to publish a GitHub release
33- issues : write # to be able to comment on released issues
34- pull-requests : write # to be able to comment on released pull requests
35- id-token : write
36- environment :
37- name : beta
38- steps :
39- - uses : actions/checkout@v4
40- with :
41- fetch-depth : 0
42- persist-credentials : false
43- 44- with :
45- node-version : 20.x
46- registry-url : https://registry.npmjs.org
47- scope : rubenhalman
48- - name : Install Dependencies
49- run : |
50- npm ci
51- - name : Semantic Release Dependency
52- run : |
53- npm install -g semantic-release https://github.com/oclif/semantic-release/archive/refs/tags/v3.1.5.tar.gz
54- cd semantic-release
55- npm install
56- - name : Publish Beta
57- env :
58- GITHUB_TOKEN : ${{ secrets.TOKENX }}
59- NPM_TOKEN : ${{ secrets.NPM_TOKENX }}
60- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKENX }}
61- run : semantic-release -e @oclif/semantic-release ./semantic-release/release.config.mjs
2+ #
3+ # Documentation:
4+ # https://help.github.com/en/articles/workflow-syntax-for-github-actions
5+ #
6+
7+ # ######################################
8+ # Start the job on all push to master #
9+ # ######################################
10+ name : " Build & Deploy - Beta"
11+ on :
12+ push :
13+ branches :
14+ - master
15+
16+ permissions : read-all
17+
18+ concurrency :
19+ group : ${{ github.ref_name }}-${{ github.workflow }}
20+ cancel-in-progress : true
21+
22+ # ##############
23+ # Set the Job #
24+ # ##############
25+ jobs :
26+ # Deploy to NPM
27+ deploy_to_npm :
28+ name : Deploy to NPM (beta)
29+ runs-on : ubuntu-latest
30+ permissions :
31+ contents : write # to be able to publish a GitHub release
32+ issues : write # to be able to comment on released issues
33+ pull-requests : write # to be able to comment on released pull requests
34+ id-token : write
35+ environment :
36+ name : beta
37+ steps :
38+ - uses : actions/checkout@v4
39+ with :
40+ fetch-depth : 0
41+ persist-credentials : false
42+ 43+ with :
44+ node-version : 22.x
45+ registry-url : https://registry.npmjs.org
46+ scope : rubenhalman
47+ - name : Install Dependencies
48+ run : |
49+ npm ci
50+ - name : Semantic Release Dependency
51+ run : |
52+ npm install -g semantic-release https://github.com/oclif/semantic-release/archive/refs/tags/v3.1.5.tar.gz
53+ cd semantic-release
54+ npm install
55+ - name : Publish Beta
56+ env :
57+ GITHUB_TOKEN : ${{ secrets.TOKENX }}
58+ NPM_TOKEN : ${{ secrets.NPM_TOKENX }}
59+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKENX }}
60+ run : semantic-release -e @oclif/semantic-release ./semantic-release/release.config.mjs
0 commit comments