Bump concurrent-ruby from 1.3.6 to 1.3.7 in /docs in the bundler group across 1 directory #451
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
| name: Node.js Bindings | |
| on: | |
| push: | |
| branches: [ main ] | |
| tags: [ v** ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| ci_checks: | |
| name: Build checks | |
| uses: ./.github/workflows/ci-checks.yml | |
| build: | |
| name: Build Node.js bindings | |
| needs: ci_checks | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for OIDC | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Cache build dependencies | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: makefile-deps | |
| with: | |
| path: ~/.cache/fabric-protos | |
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Makefile') }} | |
| restore-keys: | | |
| ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('Makefile') }} | |
| ${{ runner.os }}-${{ env.cache-name }}- | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: bindings/node/package-lock.json | |
| registry-url: https://registry.npmjs.org/ | |
| # Node.js 24 uses npm 11 | |
| - name: Update npm | |
| run: npm install -g npm@11 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: stable | |
| cache: false | |
| - name: Run make | |
| run: make nodebindings | |
| - run: npm version ${BINDING_VERSION}-dev.${GITHUB_RUN_ID}.${GITHUB_RUN_ATTEMPT} | |
| name: npm version | |
| if: needs.ci_checks.outputs.publish_release != 'true' | |
| working-directory: bindings/node | |
| env: | |
| BINDING_VERSION: ${{ needs.ci_checks.outputs.binding_version }} | |
| GITHUB_RUN_ID: ${{ github.run_id }} | |
| GITHUB_RUN_ATTEMPT: ${{ github.run_attempt }} | |
| - run: | | |
| [ "${NPM_CONFIG_DRY_RUN}" == "true" ] && echo "Dry run" | |
| npm publish --access public --tag ${NPM_PUBLISH_TAG} | |
| name: npm publish | |
| working-directory: bindings/node | |
| env: | |
| NPM_CONFIG_DRY_RUN: ${{ ( github.ref == 'refs/heads/main' || needs.ci_checks.outputs.publish_release == 'true' ) && 'false' || 'true' }} | |
| NPM_PUBLISH_TAG: ${{ ( needs.ci_checks.outputs.publish_release == 'true' ) && 'next' || 'next-unstable' }} |