fix(deps): update dependency langchain to v1.3.3 (#429) #373
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
| name: Publish packages to NPM (npmjs.com) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| id-token: write # Required for npmjs OIDC | |
| jobs: | |
| publish-npm: | |
| name: Publish | |
| strategy: | |
| matrix: | |
| project: [devbcn-2025-mcp-server] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 'latest' | |
| - name: Publish | |
| working-directory: ./${{ matrix.project }} | |
| run: | | |
| sed -i "s/\"version\": \".*\"/\"version\": \"0.0.0-$(date +%Y%m%d%H%M)\"/" package.json | |
| bun install | |
| bun run build | |
| echo '#!/usr/bin/env node' | cat - dist/index.js > dist/index.js.tmp && mv dist/index.js.tmp dist/index.js | |
| chmod +x dist/index.js | |
| bun install -g npm@latest # Latest npm version is required for OIDC support | |
| npm publish --tag latest |