Skip to content

1.30.1

1.30.1 #69

Workflow file for this run

name: Main
on:
push:
tags:
- "v1.*"
jobs:
build:
if: github.event.base_ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Setup deno so we can bundle for the web
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: npm install
- run: deno task bundle-web
- name: Publish to npm
run: |
npm config set //registry.npmjs.org/:_authToken '${NPM_TOKEN}'
npm publish --ignore-scripts
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true