1
0
Fork 0
mirror of https://github.com/archtechx/alpine-typescript.git synced 2025-12-12 06:44:03 +00:00

Move .github workflows

This commit is contained in:
Samuel Štancl 2021-02-26 16:43:57 +01:00
parent e7c97d9cc5
commit e93debffbd

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

@ -0,0 +1,16 @@
name: Publish Node.js package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- uses: actions/setup-node@v1
with:
registry-url: 'https://npm.pkg.github.com'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}