@@ -70,52 +70,59 @@ jobs:
7070
7171 ${{ steps.changelog.outputs.changelog }}
7272
73- outputs :
74- successful : ${{steps.create_tag.outputs.successful }}
75-
76- github-package :
77- runs-on : ubuntu-latest
78- needs : build
79- steps :
80- - uses : actions/checkout@v3
81- - uses : actions/setup-node@v3
82- with :
83- node-version : 16
84- registry-url : https://npm.pkg.github.com
85- scope : ' @uiwjs'
86-
87- - run : npm install
88- - run : npm run build
89-
90- - name : Modify package name
91- working-directory : core
92- shell : bash
93- run : |
94- node -e 'var pkg = require("./package.json"); pkg.name="@uiwjs/react-tabs-draggable"; require("fs").writeFileSync("./package.json", JSON.stringify(pkg, null, 2))'
95-
9673 - run : npm publish
97- name : 📦 @uiwjs /react-tabs-draggable publish to NPM
74+ name : 📦 @uiw /react-tabs-draggable publish to NPM
9875 working-directory : core
9976 continue-on-error : true
10077 env :
101- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN }}
78+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN }}
10279
103- npm-package :
104- runs-on : ubuntu-latest
105- needs : build
106- steps :
107- - uses : actions/checkout@v3
108- - uses : actions/setup-node@v3
109- with :
110- node-version : 16
111- registry-url : ' https://registry.npmjs.org'
112-
113- - run : npm install
114- - run : npm run build
80+ outputs :
81+ successful : ${{steps.create_tag.outputs.successful }}
11582
116- - run : npm publish
117- name : 📦 @uiw/react-tabs-draggable publish to NPM
118- working-directory : core
119- continue-on-error : true
120- env :
121- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
83+ # github-package:
84+ # runs-on: ubuntu-latest
85+ # needs: build
86+ # steps:
87+ # - uses: actions/checkout@v3
88+ # - uses: actions/setup-node@v3
89+ # with:
90+ # node-version: 16
91+ # registry-url: https://npm.pkg.github.com
92+ # scope: '@uiwjs'
93+
94+ # - run: npm install
95+ # - run: npm run build
96+
97+ # - name: Modify package name
98+ # working-directory: core
99+ # shell: bash
100+ # run: |
101+ # node -e 'var pkg = require("./package.json"); pkg.name="@uiwjs/react-tabs-draggable"; require("fs").writeFileSync("./package.json", JSON.stringify(pkg, null, 2))'
102+
103+ # - run: npm publish
104+ # name: 📦 @uiwjs/react-tabs-draggable publish to NPM
105+ # working-directory: core
106+ # continue-on-error: true
107+ # env:
108+ # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
109+
110+ # npm-package:
111+ # runs-on: ubuntu-latest
112+ # needs: build
113+ # steps:
114+ # - uses: actions/checkout@v3
115+ # - uses: actions/setup-node@v3
116+ # with:
117+ # node-version: 16
118+ # registry-url: 'https://registry.npmjs.org'
119+
120+ # - run: npm install
121+ # - run: npm run build
122+
123+ # - run: npm publish
124+ # name: 📦 @uiw/react-tabs-draggable publish to NPM
125+ # working-directory: core
126+ # continue-on-error: true
127+ # env:
128+ # NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments