Skip to content

[Snyk] Security upgrade rimraf from 3.0.2 to 4.0.0 #10047

[Snyk] Security upgrade rimraf from 3.0.2 to 4.0.0

[Snyk] Security upgrade rimraf from 3.0.2 to 4.0.0 #10047

Workflow file for this run

name: Static Analysis (Linting, License, Type checks...)
on:
pull_request:
push:
branches:
- trunk
- 'release/**'
- 'wp/**'
# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
check:
name: All
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- name: Use desired version of Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: '.nvmrc'
cache: npm
- name: Npm install
# A "full" install is executed, since `npm ci` does not always exit
# with an error status code if the lock file is inaccurate. This also
# helps to catch dependencies not being installed with exact version.
#
# See: https://github.com/WordPress/gutenberg/issues/16157
# See: https://github.com/WordPress/gutenberg/pull/39865
run: npm install
- name: Lint JavaScript and Styles
run: npm run lint
- name: Type checking
run: npm run build:package-types
- name: Check local changes
run: npm run other:check-local-changes
- name: License compatibility
run: npm run other:check-licenses