File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 2020 with :
2121 cache : " npm"
2222 node-version : 22
23- - run : npm install --ignore-scripts --no-audit --no-fund
23+ - run : npm ci --ignore-scripts --no-audit --no-fund
2424 - run : npm test
2525
2626 check :
3333 with :
3434 cache : " npm"
3535 node-version : 22
36- - run : npm install --ignore-scripts --no-audit --no-fund
36+ - run : npm ci --ignore-scripts --no-audit --no-fund
3737 - run : npm run check
3838
3939 lint-package :
4747 with :
4848 cache : " npm"
4949 node-version : 22
50- - run : npm install --ignore-scripts --no-audit --no-fund
50+ - run : npm ci --ignore-scripts --no-audit --no-fund
5151 - name : Build package
5252 run : npm run build
5353 - name : Lint package
5454 run : npx publint
55+
56+ npm-audit :
57+ name : Audit packages
58+ runs-on : ubuntu-latest
59+ steps :
60+ - name : Checkout code
61+ uses : actions/checkout@v5
62+ - name : Use Node.js
63+ uses : actions/setup-node@v5
64+ with :
65+ cache : " npm"
66+ node-version : 22
67+ - name : npm audit
68+ run : npm audit --audit-level=high
You can’t perform that action at this time.
0 commit comments