Skip to content

compile-and-release

compile-and-release #2

name: compile-and-release
on: [workflow_dispatch]
jobs:
compile-assets-and-push-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm ci
- run: npm run build
- uses: montudor/action-zip@v1
with:
args: zip -qq -r dist.zip dist
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
files: |
dist.zip