Skip to content

🕵🏽 NPM Audit #269

🕵🏽 NPM Audit

🕵🏽 NPM Audit #269

name: 🕵🏽 NPM Audit
on:
schedule:
# At the end of every day
- cron: '0 0 * * *'
jobs:
audit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.12.1]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
env:
NODE_ENV: production
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
- run: pnpm install -r
- run: pnpm audit