Skip to content

Commit

Permalink
💚 ci: 修复测试 ci 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 5, 2021
1 parent 8c439cd commit 8799639
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ on:
- beta

jobs:
precheck:
# continue-on-error: true # Uncomment once integration is finished
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
# All of these options are optional, so you can remove them if you are happy with the defaults
skip_after_successful_duplicate: 'true'
paths_ignore: '["**/README.md", "**/docs/**"]'

install:
name: Install Dependencies
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -58,8 +72,8 @@ jobs:
**/node_modules
key: npm-${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Generate temp
run: yarn postinstall:umi-temp
- name: Install
run: yarn

- name: lint
run: yarn lint
Expand Down

0 comments on commit 8799639

Please sign in to comment.