1
0
Fork 0
mirror of https://github.com/archtechx/alpine-reactive.git synced 2025-12-12 16:34:03 +00:00

Add .github files

This commit is contained in:
Samuel Štancl 2021-05-16 22:23:52 +02:00
parent 8b03ec7551
commit 6e6b0984e4
2 changed files with 20 additions and 0 deletions

17
.github/workflows/publish.yaml vendored Normal file
View file

@ -0,0 +1,17 @@
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 }}