chore: update workflow

This commit is contained in:
Bill Church 2022-08-07 12:01:02 +00:00
parent 8f19909cc1
commit 3d06d74645
No known key found for this signature in database
GPG key ID: 10DD056C65752AA0

View file

@ -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: |