diff --git a/.github/workflows/upload-assets-to-tags.yml b/.github/workflows/upload-assets-to-tags.yml new file mode 100644 index 00000000..eeba9d73 --- /dev/null +++ b/.github/workflows/upload-assets-to-tags.yml @@ -0,0 +1,20 @@ +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/* \ No newline at end of file