Merge pull request #7 from antoKeinanen/actions-test

create github action to build and deploy
This commit is contained in:
Anto Keinänen 2023-05-10 16:14:16 +03:00 committed by GitHub
commit e352d0b3d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"