chore: update workflow
This commit is contained in:
parent
3d06d74645
commit
adc964e823
1 changed files with 20 additions and 20 deletions
40
.github/workflows/release.yml
vendored
40
.github/workflows/release.yml
vendored
|
@ -29,23 +29,23 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
path: ${{fromJson(needs.release.outputs.paths_released)}}
|
path: ${{fromJson(needs.release.outputs.paths_released)}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- name: Build Packages
|
- name: Build Packages
|
||||||
run: |
|
run: |
|
||||||
cd ${{ matrix.path }}
|
cd ${{ matrix.path }}
|
||||||
npm install
|
npm install
|
||||||
npx lerna bootstrap
|
npx lerna bootstrap
|
||||||
# Release Please has already incremented versions and published tags, so we just
|
# Release Please has already incremented versions and published tags, so we just
|
||||||
# need to publish all unpublished versions to NPM here
|
# need to publish all unpublished versions to NPM here
|
||||||
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
|
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
|
||||||
- name: Publish to NPM
|
- name: Publish to NPM
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
run: |
|
run: |
|
||||||
cd ${{ matrix.path }}
|
cd ${{ matrix.path }}
|
||||||
npx lerna publish from-package --no-push --no-private --yes
|
npx lerna publish from-package --no-push --no-private --yes
|
Loading…
Reference in a new issue