Skip to content

chore: changeset (#1032) #726

chore: changeset (#1032)

chore: changeset (#1032) #726

Workflow file for this run

name: Release
on:
push:
branches:
- main
- next
jobs:
release:
timeout-minutes: 3
name: Changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Set up PNPM
uses: pnpm/action-setup@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'pnpm'
- name: Build WASM
run: make wasm
- name: Install NPM Dependencies
run: pnpm install
env:
CI: true
- name: Build JS
run: pnpm run build:compiler
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
commit: '[ci] release'
title: '[ci] release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}