mirror of
https://github.com/cupcakearmy/formhero.git
synced 2024-12-22 16:16:24 +00:00
fix: release
This commit is contained in:
parent
c1cb469f3b
commit
fe0fb941ed
15
.github/workflows/release-please.yml
vendored
15
.github/workflows/release-please.yml
vendored
@ -8,6 +8,19 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: google-github-actions/release-please-action@v3
|
- uses: google-github-actions/release-please-action@v3
|
||||||
|
id: release
|
||||||
with:
|
with:
|
||||||
release-type: node
|
release-type: node
|
||||||
package-name: release-please-action
|
package-name: formhero
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
if: ${{ steps.release.outputs.release_created }}
|
||||||
|
- uses: ./.github/actions/build
|
||||||
|
if: ${{ steps.release.outputs.release_created }}
|
||||||
|
|
||||||
|
- run: pnpm test
|
||||||
|
if: ${{ steps.release.outputs.release_created }}
|
||||||
|
- run: pnpm publish
|
||||||
|
if: ${{ steps.release.outputs.release_created }}
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
18
.github/workflows/release.yaml
vendored
18
.github/workflows/release.yaml
vendored
@ -1,18 +0,0 @@
|
|||||||
name: Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types:
|
|
||||||
- published
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: ./.github/actions/build
|
|
||||||
|
|
||||||
- run: pnpm test
|
|
||||||
- run: pnpm publish
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
Loading…
Reference in New Issue
Block a user