File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,40 @@ jobs:
1313 os : [ubuntu-latest, windows-latest, macOS-latest]
1414
1515 steps :
16+ - name : " Check Skip Duplicate Actions"
17+ id : skip_check
18+ uses : fkirc/skip-duplicate-actions@master
19+ with :
20+ cancel_others : " true"
21+ skip_after_successful_duplicate : " true"
22+ paths_ignore : ' ["**/README.md"]'
23+
1624 - name : " Checkout repo"
25+ if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
1726 uses : actions/checkout@v2
1827
1928 - name : " Use Node ${{ matrix.node }}"
29+ if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
2030 uses : actions/setup-node@v1
2131 with :
2232 node-version : ${{ matrix.node }}
2333
2434 - name : " Install dependencies (with cache)"
35+ if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
2536 uses : bahmutov/npm-install@v1
2637
2738 - name : " Build"
39+ if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
2840 run : yarn build
2941
3042 - name : " Check formatting"
43+ if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
3144 run : yarn format:check
3245
3346 - name : " Lint"
47+ if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
3448 run : yarn lint
3549
3650 - name : " Test"
51+ if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
3752 run : yarn test-only
You can’t perform that action at this time.
0 commit comments