astro-ghostcms/.github/workflows/npm-publish.yml

15 lines
409 B
YAML
Raw Normal View History

2024-01-16 07:56:02 +00:00
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
on:
release:
2024-01-16 08:20:44 +00:00
types: [created]
2024-01-16 07:56:02 +00:00
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}