File tree Expand file tree Collapse file tree 4 files changed +41
-21
lines changed
Expand file tree Collapse file tree 4 files changed +41
-21
lines changed Original file line number Diff line number Diff line change 1- name : ci
1+ name : CI
22
33on :
44 push :
2828 run : |
2929 yarn install --ignore-scripts
3030 yarn build
31-
32- publish :
33- name : Publish Package
34- needs : build
35- runs-on : ubuntu-latest
36- if : startsWith(github.ref, 'refs/tags/')
37- steps :
38- - uses : actions/checkout@v4
39- - uses : actions/setup-node@v4
40- with :
41- node-version : ' 20.x'
42- registry-url : ' https://registry.npmjs.org'
43- - name : Publish
44- run : yarn publish
45- env :
46- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - release-runner
8+ tags :
9+ - ' *'
10+ pull_request :
11+ branches :
12+ - main
13+ - release-runner
14+ workflow_dispatch :
15+
16+ jobs :
17+ publish-github :
18+ name : Publish Package
19+ needs : build
20+ runs-on : ubuntu-latest
21+ permissions :
22+ contents : read
23+ packages : write
24+ steps :
25+ - uses : actions/checkout@v4
26+ - uses : actions/setup-node@v4
27+ with :
28+ node-version : ' 20.x'
29+ registry-url : ' https://npm.pkg.github.com'
30+ - name : Install
31+ run : yarn install --ignore-scripts
32+ - name : Publish
33+ run : yarn publish
34+ env :
35+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11.DS_Store
22node_modules
3- lib
3+ lib
4+ .npmrc
Original file line number Diff line number Diff line change 11{
2- "name" : " @eclipse-cdt-cloud /vscode-ui-components" ,
2+ "name" : " @haydar-metin /vscode-ui-components" ,
33 "version" : " 0.0.1" ,
44 "description" : " VS Code UI Components for React" ,
5- "repository" : " https://github.com/eclipse-cdt-cloud /vscode-ui-components" ,
5+ "repository" : " https://github.com/haydar-metin /vscode-ui-components" ,
66 "license" : " MIT" ,
7- "qna" : " https://github.com/eclipse-cdt-cloud /vscode-ui-components/issues" ,
7+ "qna" : " https://github.com/haydar-metin /vscode-ui-components/issues" ,
88 "publisher" : " eclipse-cdt" ,
99 "main" : " ./lib/index.js" ,
1010 "types" : " ./lib/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments