chore: update workflow
This commit is contained in:
parent
8f19909cc1
commit
3d06d74645
1 changed files with 1 additions and 4 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
name: 'Create Release'
|
name: 'Create Release'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -10,7 +9,6 @@ on:
|
||||||
- '.devcontainer/**'
|
- '.devcontainer/**'
|
||||||
- '.**'
|
- '.**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -18,6 +16,7 @@ jobs:
|
||||||
paths_released: ${{ steps.manifest_release.outputs.paths_released }}
|
paths_released: ${{ steps.manifest_release.outputs.paths_released }}
|
||||||
steps:
|
steps:
|
||||||
- uses: google-github-actions/release-please-action@v3
|
- uses: google-github-actions/release-please-action@v3
|
||||||
|
id: manifest_release
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.RELEASE_PLEASE_UAT }}
|
token: ${{ secrets.RELEASE_PLEASE_UAT }}
|
||||||
command: manifest
|
command: manifest
|
||||||
|
@ -45,8 +44,6 @@ jobs:
|
||||||
# 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
|
||||||
if: ${{ steps.release.outputs.releases_created }}
|
|
||||||
working-directory: ./app
|
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue