Skip to content

🕵🏽 NPM Audit #345

🕵🏽 NPM Audit

🕵🏽 NPM Audit #345

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.15.1]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9.5
- 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