Skip to content

chore(master): release 5.27.4 #600

chore(master): release 5.27.4

chore(master): release 5.27.4 #600

Workflow file for this run

# ⚠️ IMPORTANT: This workflow is a template from diplodoc/lint/scaffolding
# Do not edit this file in other packages - it is automatically copied from here.
# To modify this workflow, edit it in diplodoc/devops/lint/scaffolding/.github/workflows/
# and then run the scaffolding update process.
name: Security
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
# Run weekly security scan on Monday at 6:00 UTC
- cron: '0 6 * * 1'
jobs:
audit:
name: Security audit
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- name: Install latest npm (>= 11.5.1)
run: |
[ "$(printf '%s\n' "11.5.1" "$(npm -v)" | sort -V | head -n1)" = "11.5.1" ] || npm install -g npm@latest
shell: bash
- name: Install dependencies
run: npm ci
- name: Run npm audit
id: audit
run: npm audit --audit-level=moderate
continue-on-error: true
- name: Upload audit results
if: steps.audit.outcome == 'failure'
uses: actions/upload-artifact@v4
with:
name: npm-audit-report
path: |
package-lock.json
retention-days: 7