File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1+ name : NPM Package
2+ on :
3+ release :
4+ types : [created]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ # Setup .npmrc file to publish to npm
11+ - uses : actions/setup-node@v2
12+ with :
13+ node-version : ' 12.x'
14+ registry-url : ' https://registry.npmjs.org'
15+ - run : npm install
16+ - run : npm run build
17+ - run : npm publish
18+ env :
19+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " typescript-strict-plugin" ,
3- "version" : " 1.0.12 " ,
3+ "version" : " 1.0.0-beta.1 " ,
44 "description" : " https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin" ,
55 "main" : " dist/index.js" ,
6- "private" : true ,
6+ "private" : false ,
77 "scripts" : {
8- "test" : " echo \" Error: no test specified \" && exit 0 " ,
8+ "test" : " npm run e2e " ,
99 "build" : " tsc" ,
1010 "dev" : " tsc --watch -p ." ,
1111 "e2e" : " node e2e/run.js" ,
You can’t perform that action at this time.
0 commit comments