Skip to content

Commit 51133c5

Browse files
committed
Chore: refactor dependency ci
1 parent 50bc9d0 commit 51133c5

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/actions/node-setup/action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ runs:
3535
run: |
3636
yarn config set winLinkType symlinks
3737
if [ "${{ inputs.strict }}" = "true" ]; then
38-
echo "Installing with strict mode"
3938
yarn install --immutable --check-resolutions --refresh-lockfile
40-
echo "Checking peerDeps and constraints"
41-
yarn check:pkgs
42-
echo "Running npm audit"
43-
yarn npm audit --all
4439
else
4540
YARN_ENABLE_HARDENED_MODE=0 yarn install --no-immutable
4641
fi

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ jobs:
3636
- name: Setup
3737
uses: ./.github/actions/node-setup
3838

39+
- name: Check peer dependencies
40+
run: yarn check:peers
41+
42+
- name: Check package consistency
43+
run: yarn constraints
44+
45+
- name: Check package audit
46+
run: yarn npm audit --all
47+
3948
- name: Project Reference Check
4049
run: yarn sync:check
4150

0 commit comments

Comments
 (0)