Audit (release) #785
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: Audit (release) | |
| on: | |
| schedule: | |
| - cron: "0 3 * * *" | |
| workflow_dispatch: ~ | |
| permissions: read-all | |
| jobs: | |
| v2: | |
| name: v2 | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
| with: | |
| persist-credentials: false | |
| ref: v2 | |
| - name: Verify action checksums | |
| uses: ./.github/actions/ghasum | |
| - name: Install Node.js | |
| uses: actions/[email protected] | |
| with: | |
| cache: npm | |
| node-version-file: .nvmrc | |
| - name: Install dependencies | |
| run: npm clean-install | |
| - name: Insert release audit config | |
| env: | |
| NDMRC: ${{ vars.NDMRC }} | |
| NSPRC: ${{ vars.NSPRC }} | |
| run: | | |
| echo "${NDMRC}" | tee .ndmrc | |
| echo "${NSPRC}" | tee .nsprc | |
| - name: Audit for vulnerabilities | |
| run: npm run audit:vulnerabilities:runtime | |
| - name: Audit for deprecation warnings | |
| run: npm run audit:deprecations:runtime |