Skip to content

Commit

Permalink
ci: 修改触发条件
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Sep 20, 2023
1 parent af1db69 commit 9a9fa41
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: lint

on: [push, pull_request]
on:
push:
paths:
- 'packages/**'

jobs:
lint:
Expand All @@ -9,10 +12,10 @@ jobs:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn bootstrap
- run: yarn lint
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn bootstrap
- run: yarn lint

0 comments on commit 9a9fa41

Please sign in to comment.