Skip to content

1.26.1

1.26.1 #64

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@v3
# Setup deno so we can bundle for the web
- uses: denoland/setup-deno@main
with:
deno-version: v1.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