Skip to content

3.1.1

3.1.1 #11

Workflow file for this run

name: Publish
on:
push:
branches:
- '!*'
tags:
- 'v*'
permissions:
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Setup wasm-pack
uses: jetli/[email protected]
- name: Build
run: |
bun install --frozen-lockfile
bun run build
- name: Publish unity-js-tools-wasm
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/unity-js-tools-wasm
access: public
provenance: true
- name: Publish unity-js-tools
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/unity-js-tools/dist
access: public
provenance: true
- name: Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.BOT_TOKEN }}
prerelease: false