fix(deps): update toniblyx/prowler docker tag to v5.0.4 #3854
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: push | |
| jobs: | |
| release: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: "npm" | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run test | |
| - run: npm run build | |
| - name: verify docs are up-to-date | |
| run: | | |
| diff <(npx ts-node utils/generate-docs.ts README.md) README.md || { cat <<EOF | |
| The documentation is not up-to-date. Run the following command to update: | |
| printf "%s\n" "\$(npx ts-node utils/generate-docs.ts README.md)" > README.md | |
| EOF | |
| exit 1 | |
| } | |
| - name: conditional release | |
| if: ${{ github.ref == 'refs/heads/dev' }} | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: npx semantic-release |