fix(deps): update dependency next to v15 [security] #53295
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: Danger | |
on: | |
merge_group: | |
branches: [main] | |
pull_request: | |
types: | |
- assigned | |
- unassigned | |
- labeled | |
- unlabeled | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
- ready_for_review | |
- review_requested | |
- review_request_removed | |
jobs: | |
danger: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
repository-projects: write | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Cache Node Modules | |
id: cache-node-modules | |
uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: node-modules-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }} | |
restore-keys: node-modules-${{ matrix.node-version }}- | |
- name: NPM Install | |
run: npm install --silent | |
- name: Danger JS | |
run: npx danger ci --failOnErrors | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |