ai: fix missing binding error (#873) #926
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 == 'partykit' }} | |
timeout-minutes: 5 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "npm" | |
- run: npm ci | |
- name: Modify package.json version | |
run: node .github/version-script.js | |
- run: npm run build | |
env: | |
PARTYKIT_API_BASE: https://beta-api.partykit.dev | |
- run: npm run check | |
- run: npm publish --tag beta | |
env: | |
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
working-directory: packages/partykit | |
- run: npm publish --tag beta | |
env: | |
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
working-directory: packages/y-partykit | |
- run: npm publish --tag beta | |
env: | |
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
working-directory: packages/partysocket | |
- run: npm publish --tag beta | |
env: | |
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
working-directory: packages/partymix | |
- run: npm publish --tag beta | |
env: | |
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
working-directory: packages/create-partykit | |
- run: npm publish --tag beta | |
env: | |
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
working-directory: packages/party.io | |
- run: npm publish --tag beta | |
env: | |
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
working-directory: packages/partykit-ai | |
- run: npm publish --tag beta | |
env: | |
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
working-directory: packages/nitroparty |