1
0
Fork 0
mirror of https://github.com/archtechx/alpine-reactive.git synced 2025-12-12 00:14:03 +00:00
alpine-reactive/.github/workflows/publish.yaml
2021-05-16 22:23:52 +02:00

17 lines
400 B
YAML

name: Publish Node.js package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}