Do all npm install/build before publishing anything to avoid npmrc issues (#188)
This commit is contained in:
Родитель
4dfa2b5adc
Коммит
5cea4e89ea
|
@ -137,18 +137,18 @@ jobs:
|
|||
npm run build
|
||||
working-directory: packages/svg-icons
|
||||
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
access: public
|
||||
package: packages/svg-icons/package.json
|
||||
|
||||
- name: Build React library
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
working-directory: packages/react-icons
|
||||
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
access: public
|
||||
package: packages/svg-icons/package.json
|
||||
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче