Bump version / add ci

This commit is contained in:
René Preuß
2023-09-12 11:03:56 +02:00
parent 7384a4c5ce
commit ce2ced4ffa
2 changed files with 23 additions and 1 deletions

21
.github/workflows/package.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
registry-url: 'https://registry.npmjs.org'
scope: '@bitinflow'
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}