diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml deleted file mode 100644 index a045df1a..00000000 --- a/.github/actions/setup/action.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Setup -description: 'Installs node, driver dependencies, and builds source' - -runs: - using: composite - steps: - - uses: actions/setup-node@v4 - with: - node-version: 'lts/*' - cache: 'npm' - registry-url: 'https://registry.npmjs.org' - - run: npm install -g npm@latest - shell: bash - - run: npm clean-install --ignore-scripts - shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2fe8f6b..0d4dfea3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,6 +97,8 @@ jobs: - name: Install Node and dependencies uses: mongodb-labs/drivers-github-tools/node/setup@v2 + with: + ignore_install_scripts: true - run: npm publish --provenance --tag=alpha if: ${{ needs.release_please.outputs.release_created }} diff --git a/.github/workflows/release_notes.yml b/.github/workflows/release_notes.yml index 54b038f5..d1e7a033 100644 --- a/.github/workflows/release_notes.yml +++ b/.github/workflows/release_notes.yml @@ -44,9 +44,10 @@ jobs: ref: refs/pull/${{ github.event_name == 'issue_comment' && github.event.issue.number || inputs.releasePr }}/head - # Setup Node.js and npm install - - name: actions/setup - uses: ./.github/actions/setup + - name: Install Node and dependencies + uses: mongodb-labs/drivers-github-tools/node/setup@v2 + with: + ignore_install_scripts: true # See: https://github.com/googleapis/release-please/issues/1274