Skip to content

build: allow to trigger npm-publish.yml action manually #19

build: allow to trigger npm-publish.yml action manually

build: allow to trigger npm-publish.yml action manually #19

name: Upload assets to tags
on: push
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm ci
- run: npm test
- run: npm run build
- name: Upload
uses: softprops/action-gh-release@v1
with:
files: dist/**/*