Skip to content

Commit

Permalink
chore: check git status after deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Aug 30, 2023
1 parent 9b54ace commit ff045cc
Show file tree
Hide file tree
Showing 24 changed files with 98 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/audit.yml
Expand Up @@ -33,6 +33,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js --package-lock
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Run Production Audit
run: node . audit --omit=dev
- name: Run Full Audit
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmaccess.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmaccess
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmdiff.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmdiff
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmexec.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmexec
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmfund.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmfund
- name: Post Lint
Expand Down Expand Up @@ -91,6 +93,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmhook.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmhook
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmorg.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmorg
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmpack.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmpack
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmpublish.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmpublish
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmsearch.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmsearch
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmteam.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmteam
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-libnpmversion.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w libnpmversion
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-npmcli-arborist.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w @npmcli/arborist
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-npmcli-config.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w @npmcli/config
- name: Post Lint
Expand Down Expand Up @@ -91,6 +93,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-npmcli-docs.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w @npmcli/docs
- name: Post Lint
Expand Down Expand Up @@ -86,6 +88,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down Expand Up @@ -119,6 +123,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Build Docs
run: |
node . run build -w docs
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-npmcli-mock-globals.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w @npmcli/mock-globals
- name: Post Lint
Expand Down Expand Up @@ -91,6 +93,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-npmcli-mock-registry.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w @npmcli/mock-registry
- name: Post Lint
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-npmcli-smoke-tests.yml
Expand Up @@ -42,6 +42,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -w @npmcli/smoke-tests
- name: Post Lint
Expand Down Expand Up @@ -91,6 +93,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-release.yml
Expand Up @@ -88,6 +88,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts -ws -iwr --if-present
- name: Post Lint
Expand Down Expand Up @@ -187,6 +189,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down Expand Up @@ -289,6 +293,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Pack
env:
SMOKE_PUBLISH_NPM: 1
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -50,6 +50,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Lint
run: node . run lint --ignore-scripts
- name: Post Lint
Expand Down Expand Up @@ -97,6 +99,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Expand Down Expand Up @@ -128,6 +132,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Check Licenses
run: node . run licenses

Expand Down Expand Up @@ -155,6 +161,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Run Smoke Tests
run: node . test -w smoke-tests --ignore-scripts
- name: Check Git Status
Expand Down Expand Up @@ -183,6 +191,8 @@ jobs:
run: node scripts/git-dirty.js
- name: Reset Deps
run: node scripts/resetdeps.js
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Setup WSL
uses: Vampire/setup-wsl@v2.0.1
- name: Setup Cygwin
Expand Down

0 comments on commit ff045cc

Please sign in to comment.