Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/pver-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
push:
branches:
- main

permissions:
contents: write
id-token: write
pull-requests: write

env:
UPSTREAM_REPO: "runframe" # for example: "eval"
PACKAGE_NAMES: "@tscircuit/3d-viewer" # comma-separated list, e.g. "@tscircuit/core,@tscircuit/props"
Expand All @@ -17,16 +23,16 @@ jobs:
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: actions/setup-node@v3
- uses: actions/setup-node@v6
with:
node-version: 20
node-version: 24
registry-url: https://registry.npmjs.org/
package-manager-cache: false
- run: npm install -g pver
- run: bun install
- run: bun run build
- run: pver release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.TSCIRCUIT_BOT_GITHUB_TOKEN }}
- name: Trigger upstream repo update
if: env.UPSTREAM_REPO && env.PACKAGE_NAMES
Expand All @@ -52,4 +58,4 @@ jobs:
\"version\": \"$VERSION\",
\"package_json\": $PACKAGE_JSON
}
}"
}"
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"name": "@tscircuit/3d-viewer",
"version": "0.0.593",
"repository": {
"type": "git",
"url": "https://github.com/tscircuit/3d-viewer"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"type": "module",
Expand Down
Loading