partybase stub #236
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: 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 |