This repository was archived by the owner on Dec 4, 2024. It is now read-only.
npm(deps-dev): bump husky from 8.0.3 to 9.0.11 #291
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
name: 'Pull Request' | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
verify: | |
if: ${{ !startsWith(github.head_ref, 'dependabot/') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4.0.2 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: 'Install NPM Packages' | |
run: npm ci | |
- name: 'Run Commitlint' | |
if: ${{ !contains(github.head_ref, 'batched-dependabot-updates') }} | |
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
- name: 'Run Lint' | |
run: npm run lint | |
- name: 'Run Unit Tests' | |
run: npm run test | |
- name: 'Create Build Artifact' | |
run: npm run build | |
- name: 'Upload Build Artifact' | |
uses: actions/upload-artifact@v4.3.1 | |
with: | |
name: build | |
path: dist | |
if-no-files-found: error |