Skip to content

feat: add devDependencies install: (#40) (#49) #33

feat: add devDependencies install: (#40) (#49)

feat: add devDependencies install: (#40) (#49) #33

Workflow file for this run

name: Commit Message Check on PR
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
check-commit-message:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # 获取所有提交记录以便检查提交信息
- name: Check commit messages in PR
run: ./scripts/check_commit_msg.sh ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}

Check failure on line 18 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: ^8.0
- name: Install Deps
run: pnpm i --no-frozen-lockfile
- name: Format
run: |
pnpm run format:ci
- name: Lint
run: pnpm run lint:ci