ci: ci.yml migrate upload-artifact and download-artifact to v4 #249
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: pr-title-lint | |
on: | |
pull_request_target: | |
branches: | |
- main | |
types: | |
- opened | |
- synchronize | |
- edited | |
permissions: | |
contents: read | |
jobs: | |
pr-title-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version-file: .nvmrc | |
- run: npm ci | |
- name: Lint PR title | |
run: echo "${PR_TITLE}" | npx commitlint | |
env: | |
PR_TITLE: ${{ github.event.pull_request.title }} |