Skip to content

Commit 3e3c2d3

Browse files
S-t-e-v-e-e‘S-t-e-v-e-e’
authored andcommitted
fix: 更新 pr-open-check.yml 文件
1 parent 24824c7 commit 3e3c2d3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pr-open-check.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ jobs:
1212
- uses: actions/checkout@v2
1313
with:
1414
fetch-depth: 0
15+
1516
- uses: wagoid/commitlint-github-action@v4
17+
1618
- uses: actions/setup-node@v2
1719
with:
1820
node-version: '18'
1921
check-latest: true
22+
2023
- name: Get yarn cache directory path
2124
id: yarn-cache-dir-path
22-
run: echo "::set-output name=dir::$(yarn cache dir)"
25+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_ENV
2326

2427
- uses: actions/cache@v4
2528
with:
@@ -29,7 +32,7 @@ jobs:
2932
- name: Install dependencies
3033
if: steps.yarn-cache.outputs.cache-hit != 'true'
3134
run: yarn
32-
35+
3336
- name: Run Lint
3437
run: yarn lint-md
3538

0 commit comments

Comments
 (0)