File tree Expand file tree Collapse file tree 4 files changed +38
-6
lines changed
Expand file tree Collapse file tree 4 files changed +38
-6
lines changed Original file line number Diff line number Diff line change 1- name : ci
1+ name : CI
22
33on :
44 push :
2727 GITHUB_TOKEN : ${{github.token}}
2828 run : |
2929 yarn install --ignore-scripts
30- yarn build
30+ yarn build
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ tags :
8+ - ' *'
9+ pull_request :
10+ branches :
11+ - main
12+ workflow_dispatch :
13+
14+ jobs :
15+ publish-github :
16+ name : Publish Package
17+ runs-on : ubuntu-latest
18+ if : startsWith(github.ref, 'refs/tags/')
19+ steps :
20+ - uses : actions/checkout@v4
21+ - uses : actions/setup-node@v4
22+ with :
23+ node-version : ' 20.x'
24+ registry-url : ' https://registry.npmjs.org'
25+ - name : Install
26+ run : yarn install --ignore-scripts
27+ - name : Publish
28+ run : yarn publish
29+ env :
30+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11.DS_Store
22node_modules
3- lib
3+ lib
4+ .npmrc
5+ .yarnrc
Original file line number Diff line number Diff line change 99 "main" : " ./lib/index.js" ,
1010 "types" : " ./lib/index.d.ts" ,
1111 "files" : [
12- " lib"
12+ " lib" ,
13+ " src" ,
14+ " style"
1315 ],
1416 "scripts" : {
1517 "build" : " tsc && yarn lint" ,
3941 "@types/throttle-debounce" : " 5.0.2" ,
4042 "@types/vscode" : " ^1.63.2" ,
4143 "@types/vscode-webview" : " ^1.57.0" ,
42- "@typescript-eslint/eslint-plugin" : " ^5.49.0" ,
43- "@typescript-eslint/parser" : " ^5.49.0" ,
4444 "eslint" : " ^9.21.0" ,
4545 "eslint-plugin-header" : " ^3.1.1" ,
4646 "globals" : " ^16.0.0" ,
You can’t perform that action at this time.
0 commit comments