chore: release v0.4.2 #14
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
| # Publish @sisense/mcp-server to npm when a version tag (v*) is pushed. | |
| # Triggered by GitLab sync (github-release job with BUMP_STRATEGY) or by pushing a tag from GitHub. | |
| # Requires NPM_TOKEN secret in this repo (Settings > Secrets and variables > Actions). | |
| name: Publish to npm | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| env: | |
| # Opt into Node.js 24 for GitHub Actions (Node 20 deprecated; default switches June 2026) | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: '1.3.5' | |
| - name: Install dependencies | |
| env: | |
| PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | |
| run: bun install --frozen-lockfile | |
| - name: Build | |
| run: bun run build | |
| - name: Setup Node for npm publish | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Publish to npm | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: npm publish --access public |