Skip to content

partybase stub

partybase stub #236

Workflow file for this run

name: Prerelease
on:
push:
branches:
- main
jobs:
prerelease:
if: ${{ github.repository_owner == 'threepointone' }}
timeout-minutes: 5
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: oven-sh/setup-bun@v1
- run: bun install
- name: Modify package.json version
run: bun .github/version-script.ts
- name: Resolve workspace dependencies
run: bun .github/resolve-workspace-versions.ts
- run: npm run build # bun run build goes into an infinte loop
- run: npm run check # bun run check goes into an infinte loop
- run: npm publish --tag beta
env:
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
working-directory: packages/partyserver
- run: npm publish --tag beta
env:
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
working-directory: packages/y-partyserver
- run: npm publish --tag beta
env:
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
working-directory: packages/partysub