File tree 8 files changed +42
-534
lines changed
8 files changed +42
-534
lines changed Original file line number Diff line number Diff line change 1
- # name: Publish Package to npmjs
2
- # on:
3
- # release:
4
- # types: [created]
5
- # jobs:
6
- # npm-publish:
7
- # runs-on: ubuntu-latest
8
- # steps:
9
- # - uses: actions/checkout@v2
10
- # - uses: actions/setup-node@v2
11
- # with:
12
- # node-version: '16.x'
13
- # registry-url: 'https://registry.npmjs.org'
14
- # - run: npm ci
15
- # - run: npm run publish:npm
16
- # env:
17
- # NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH }}
1
+ name : Publish Package to npmjs
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ npm-publish :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : actions/setup-node@v2
11
+ with :
12
+ node-version : ' 16.x'
13
+ registry-url : ' https://registry.npmjs.org'
14
+ - run : npm ci
15
+ - run : npm run publish:npm
16
+ env :
17
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH }}
Original file line number Diff line number Diff line change 1
- # name: RELEASER
2
- #
3
- # on:
4
- # push:
5
- # branches: [main]
6
- #
7
- # jobs:
8
- # Realeaser:
9
- # runs-on: ubuntu-latest
10
- # steps:
11
- # - name: Checkout source code
12
- # uses: actions/checkout@v2
13
- #
14
- # - name: Use NodeJS v16
15
- # uses: actions/setup-node@v1
16
- # with:
17
- # node-version: 16
18
- #
19
- # - name: Install dependencies
20
- # run: npm ci
21
- #
22
- # - name: Create new release
23
- # env:
24
- # GH_TOKEN: ${{secrets.GH_TOKEN}}
25
- # run: npx semantic-release
1
+ name : RELEASER
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+
7
+ jobs :
8
+ Realeaser :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout source code
12
+ uses : actions/checkout@v2
13
+
14
+ - name : Use NodeJS v16
15
+ uses : actions/setup-node@v1
16
+ with :
17
+ node-version : 16
18
+
19
+ - name : Install dependencies
20
+ run : npm ci
21
+
22
+ - name : Create new release
23
+ env :
24
+ GH_TOKEN : ${{secrets.GH_TOKEN}}
25
+ run : npx semantic-release
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments