chore: bump tap from 16.3.10 to 21.0.0 #293
Workflow file for this run
This file contains 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
# This file is automatically added by @npmcli/template-oss. Do not edit. | |
name: Pull Request | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
jobs: | |
commitlint: | |
name: Lint Commits | |
if: github.repository_owner == 'npm' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Git User | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "npm CLI robot" | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
id: node | |
with: | |
node-version: 22.x | |
check-latest: contains('22.x', '.x') | |
- name: Install Latest npm | |
uses: ./.github/actions/install-latest-npm | |
with: | |
node: ${{ steps.node.outputs.node-version }} | |
- name: Install Dependencies | |
run: npm i --ignore-scripts --no-audit --no-fund | |
- name: Run Commitlint on Commits | |
id: commit | |
continue-on-error: true | |
run: npx --offline commitlint -V --from 'origin/${{ github.base_ref }}' --to ${{ github.event.pull_request.head.sha }} | |
- name: Run Commitlint on PR Title | |
if: steps.commit.outcome == 'failure' | |
env: | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
run: echo "$PR_TITLE" | npx --offline commitlint -V |