1.22.4 #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |