diff --git a/.github/workflows/scan-simples.yml b/.github/workflows/scan-simples.yml index 09b27a4..6ded057 100644 --- a/.github/workflows/scan-simples.yml +++ b/.github/workflows/scan-simples.yml @@ -10,15 +10,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + + - name: Navigate to project directory + run: cd pisc-2024/day-1 - name: Install dependencies - run: | - npm install - exit_code=$? - if [ $exit_code -ne 0 ]; then - echo "npm install falhou com código de saída $exit_code" - exit $exit_code - fi + run: npm install - name: Trivy Scan uses: aquasecurity/trivy-action@master