diff --git a/.github/actions/node-setup/action.yml b/.github/actions/node-setup/action.yml index 44f462e4..fd2db03b 100644 --- a/.github/actions/node-setup/action.yml +++ b/.github/actions/node-setup/action.yml @@ -35,12 +35,7 @@ runs: run: | yarn config set winLinkType symlinks if [ "${{ inputs.strict }}" = "true" ]; then - echo "Installing with strict mode" yarn install --immutable --check-resolutions --refresh-lockfile - echo "Checking peerDeps and constraints" - yarn check:pkgs - echo "Running npm audit" - yarn npm audit --all else YARN_ENABLE_HARDENED_MODE=0 yarn install --no-immutable fi diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f19fbfb..cd142a09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,15 @@ jobs: - name: Setup uses: ./.github/actions/node-setup + - name: Check peer dependencies + run: yarn check:peers + + - name: Check package consistency + run: yarn constraints + + - name: Check package audit + run: yarn npm audit --all + - name: Project Reference Check run: yarn sync:check