File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,12 @@ jobs:
20
20
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
21
22
22
steps :
23
- - uses : actions/checkout@v2
23
+ - uses : actions/checkout@main
24
24
- name : Use Node.js ${{ matrix.node-version }}
25
- uses : actions/setup-node@v2
25
+ uses : actions/setup-node@main
26
26
with :
27
27
node-version : ${{ matrix.node-version }}
28
28
- run : npm ci
29
- - run : npm run build --if-present
30
29
- run : npm test
31
30
32
31
dtslint :
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ publish :
8
+ name : Release
9
+ runs-on : ubuntu-latest
10
+ environment : release
11
+ steps :
12
+ - uses : actions/checkout@main
13
+ with :
14
+ fetch-depth : 0
15
+ persist-credentials : false
16
+
17
+ - run : npm publish
18
+ env :
19
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments