File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ release :
8
+ timeout-minutes : 2
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Create GH Token
12
+ uses : actions/create-github-app-token@v1
13
+ id : gh-token
14
+ with :
15
+ app-id : ${{ vars.GH_TOKEN_APP_ID }}
16
+ private-key : ${{ secrets.GH_TOKEN_APP_PRIVATE_KEY }}
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+ with :
20
+ persist-credentials : false
21
+ - name : Setup Node
22
+ uses : actions/setup-node@v4
23
+ with :
24
+ node-version-file : .nvmrc
25
+ cache : npm
26
+ - name : Install Dependencies
27
+ run : npm ci
28
+ - name : Build
29
+ run : npm run build
30
+ - name : Semantic Release
31
+ uses : BrightspaceUI/actions/semantic-release@main
32
+ with :
33
+ GITHUB_TOKEN : ${{ steps.gh-token.outputs.token }}
34
+ NPM : true
35
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change
1
+ 16
You can’t perform that action at this time.
0 commit comments