File tree 5 files changed +38
-17
lines changed
5 files changed +38
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : Nightly Build
2
+ permissions :
3
+ contents : write
2
4
on :
3
5
push :
4
6
branches :
Original file line number Diff line number Diff line change 1
- name : CI
2
- on : push
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - master
8
+
9
+ permissions :
10
+ contents : read
11
+
3
12
jobs :
4
- test :
13
+ release :
14
+ name : Release
5
15
runs-on : ubuntu-latest
16
+ permissions :
17
+ contents : write
18
+ issues : write
19
+ pull-requests : write
20
+ id-token : write
6
21
steps :
7
- - uses : actions/checkout@v3
8
- - uses : actions/setup-node@v3
22
+ - name : Checkout
23
+ uses : actions/checkout@v3
24
+ with :
25
+ fetch-depth : 0
26
+ persist-credentials : false
27
+ - name : Setup Node.js
28
+ uses : actions/setup-node@v3
9
29
with :
10
30
node-version : 16
11
- - run : HUSKY=0 npm ci
12
- - run : npm run build
31
+ - name : Install dependencies
32
+ run : HUSKY=0 npm ci && npm run build
33
+ - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
34
+ run : npm audit signatures
13
35
- name : Release
14
36
env :
37
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
15
39
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
16
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17
- run : npm run semantic-release
40
+ run : npm run semantic-release
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
2
. " $( dirname -- " $0 " ) /_/husky.sh"
3
3
4
- npx --no -- commitlint --edit
4
+ npx --no -- commitlint --edit ${1}
Original file line number Diff line number Diff line change 6
6
" dialogue" ,
7
7
" dialogue system"
8
8
],
9
- "oysterVersion" : " 3.0.0 " ,
9
+ "oysterVersion" : " 3.0.2 " ,
10
10
"packageName" : " com.fluid.dialogue" ,
11
11
"packageScope" : " com.fluid" ,
12
12
"unityVersion" : " 2019.1" ,
Original file line number Diff line number Diff line change 8
8
"scripts" : {
9
9
"build" : " node build.js" ,
10
10
"semantic-release" : " semantic-release" ,
11
- "commit" : " git-cz"
11
+ "commit" : " git-cz" ,
12
+ "prepare" : " husky install"
12
13
},
13
14
"keywords" : [
14
15
" unity" ,
15
16
" dialogue" ,
16
17
" dialogue system"
17
18
],
18
- "husky" : {
19
- "hooks" : {
20
- "commit-msg" : " commitlint -E HUSKY_GIT_PARAMS"
21
- }
22
- },
23
19
"repository" : {
24
20
"type" : " git" ,
25
21
"url" : " git+https://github.com/ashblue/fluid-dialogue.git"
You can’t perform that action at this time.
0 commit comments