fix: dont upsert for ensure if missing #9292
Workflow file for this run
This file contains hidden or 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
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: corepack enable | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - run: pnpm install | |
| - run: pnpm build -F rivetkit -F '@rivetkit/*' -F '!@rivetkit/shared-data' -F '!@rivetkit/engine-frontend' -F '!@rivetkit/mcp-hub' | |
| - run: npx turbo build:pack-inspector -F rivetkit | |
| # Strip sourcemaps from inspector tarball to stay under pkg-pr-new 20MB limit | |
| - run: | | |
| cd rivetkit-typescript/packages/rivetkit/dist | |
| mkdir -p /tmp/inspector-repack | |
| tar xzf inspector.tar.gz -C /tmp/inspector-repack | |
| find /tmp/inspector-repack -name '*.map' -delete | |
| tar czf inspector.tar.gz -C /tmp/inspector-repack . | |
| rm -rf /tmp/inspector-repack | |
| - run: pnpm dlx pkg-pr-new publish 'shared/typescript/*' 'engine/sdks/typescript/envoy-client/' 'engine/sdks/typescript/envoy-protocol/' 'rivetkit-typescript/packages/*' --packageManager pnpm --template './examples/*' |