diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d829608..06d83b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,9 @@ on: jobs: ci: runs-on: ubuntu-latest + permissions: + id-token: write + contents: read steps: - uses: actions/checkout@v4 @@ -20,9 +23,14 @@ jobs: uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" + cache: "npm" - name: Install dependencies - run: npm install + run: npm ci - name: Run CI scripts run: npm run ci + + - name: Fix my build + uses: fly-ci/wingman-action@v1 + if: failure()