create github action to build and deploy

This commit is contained in:
antoKeinanen 2023-05-10 16:09:31 +03:00
parent 6f14153862
commit 40efd136f0

15
.github/workflows/deploy.yml vendored Normal file
View file

@ -0,0 +1,15 @@
on: workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 19
- run: npm ci
- run: npm run build
- uses: ncipollo/release-action@v1
with:
artifacts: "release.tar.gz,main.js,manifest.json"