Feature set pipeline #3
Workflow file for this run
This file contains 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: "Npm Audit" | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
types: | |
- opened | |
- edited | |
- synchronize | |
- reopened | |
permissions: | |
id-token: write | |
contents: read | |
pull-requests: read | |
jobs: | |
NpmAudit: | |
runs-on: ubuntu-latest | |
name: Run Npm Audit for Next.js | |
steps: | |
- uses: actions/checkout@v4 | |
# Verificar se é mesmo essa versão de Node | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '22' | |
- name: Install dependencies | |
run: | | |
npm install | |
- name: Run npm audit | |
run: | | |
npm audit --audit-level=high |