npm.yml 671 B

123456789101112131415161718192021222324252627282930
  1. name: npm-audit-ci
  2. on:
  3. push:
  4. pull_request:
  5. schedule:
  6. - cron: '0 0 * * *'
  7. concurrency:
  8. group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
  9. cancel-in-progress: ${{ github.event_name == 'pull_request' }}
  10. permissions:
  11. actions: read
  12. packages: read
  13. contents: read
  14. jobs:
  15. npm-audit-ci:
  16. name: npm-audit-ci
  17. runs-on: ubuntu-latest
  18. timeout-minutes: 15
  19. container:
  20. image: quay.io/389ds/ci-images:test
  21. steps:
  22. - name: Checkout
  23. uses: actions/checkout@v6
  24. - name: Run NPM Audit CI
  25. run: cd $GITHUB_WORKSPACE/src/cockpit/389-console && npx --yes audit-ci --config audit-ci.json