File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*'
7
+
8
+ jobs :
9
+ release :
10
+ runs-on : ubuntu-20.04
11
+
12
+ strategy :
13
+ matrix :
14
+ node : [15]
15
+
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+
19
+ - name : Use Node.js ${{ matrix.node }}
20
+ uses : actions/setup-node@v1
21
+ with :
22
+ node-version : ${{ matrix.node }}
23
+ registry-url : ' https://registry.npmjs.org'
24
+
25
+ - run : npm ci
26
+
27
+ - run : npm publish --access public
28
+ env :
29
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
30
+
31
+ - name : Create Release
32
+ uses : actions/create-release@v1
33
+ env :
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+ with :
36
+ tag_name : ${{ github.ref }}
37
+ release_name : Release ${{ github.ref }}
Original file line number Diff line number Diff line change 1
1
* /
2
+ ! /.github /
2
3
! /.vscode /
3
4
! /types /
4
- ! /utils /
5
+ ! /utils /
You can’t perform that action at this time.
0 commit comments