diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f52760ca2..84c87f18b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,13 @@ jobs: test: runs-on: ubuntu-latest steps: + - name: Harden the runner + uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 + with: + use-policy-store: true + egress-policy: audit + api-key: ${{ secrets.STEP_SECURITY_API_KEY }} + - uses: actions/checkout@v2 - run: npm ci - run: npm run test