File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,13 +20,12 @@ jobs:
2020 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121
2222 steps :
23- - uses : actions/checkout@v2
23+ - uses : actions/checkout@main
2424 - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v2
25+ uses : actions/setup-node@main
2626 with :
2727 node-version : ${{ matrix.node-version }}
2828 - run : npm ci
29- - run : npm run build --if-present
3029 - run : npm test
3130
3231 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