File tree Expand file tree Collapse file tree 1 file changed +8
-24
lines changed Expand file tree Collapse file tree 1 file changed +8
-24
lines changed Original file line number Diff line number Diff line change 77 tags-ignore :
88 - ' [0-9].[0-9]+.[0-9]+'
99
10+ env :
11+ GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
12+ NPM_TOKEN : ' ${{ secrets.NPM_TOKEN }}'
13+
14+ permissions :
15+ contents : write
16+
1017jobs :
1118 build :
1219 name : Build
4552 run : |
4653 npm run build
4754
48- release :
49- name : Release
50- if : github.ref == 'refs/heads/master'
51- runs-on : ubuntu-latest
52- needs :
53- - build
54- env :
55- GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
56- NPM_TOKEN : ' ${{ secrets.NPM_TOKEN }}'
57- permissions :
58- contents : write
59- steps :
60- - name : Checkout Repo
61- uses : actions/checkout@v2
62-
63- - name : Setup Node
64- uses : actions/setup-node@v1
65- with :
66- node-version : ' 16'
67-
68- - name : Install Node Packages
69- run : |
70- npm ci --production=false
71-
7255 - name : Release
56+ if : github.ref == 'refs/heads/master'
7357 run : |
7458 npx semantic-release
You can’t perform that action at this time.
0 commit comments