waforth/.github/workflows/publish-release.yml

20 lines
367 B
YAML
Raw Normal View History

2022-05-05 20:56:08 +02:00
name: Publish Release
on:
2022-05-26 17:56:18 +02:00
release:
types: [created]
2022-05-05 20:56:08 +02:00
jobs:
build:
2022-05-07 09:03:03 +02:00
uses: ./.github/workflows/build.yml
2022-05-05 20:56:08 +02:00
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
2023-03-18 09:30:15 +01:00
- uses: actions/checkout@v3
2022-05-07 09:03:03 +02:00
- uses: ./.github/actions/setup
2022-05-05 20:56:08 +02:00
- run: yarnpkg publish --non-interactive
env:
2022-05-06 19:48:04 +02:00
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}