diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 993c940e..ba842418 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,6 +12,8 @@ jobs: steps: - name: ⬇️ Checkout repo uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: ⎔ Setup node uses: actions/setup-node@v3 @@ -22,10 +24,7 @@ jobs: run: > find . -name package.json -maxdepth 2 -type f | while read -r file; do directory=$(dirname "$file") - cd "$directory" - echo "$PWD" - ls -l - npm run format:check && cd - + cd "$directory" && npm run format:check && cd - done - name: 👕 Lint code with ESLint