Skip to content

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

[Snyk] Security upgrade rimraf from 3.0.2 to 4.0.0

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

Workflow file for this run

name: Create Block
on:
pull_request:
push:
branches: [trunk, wp/latest]
# 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:
checks:
name: Checks
runs-on: ${{ matrix.os }}
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
strategy:
fail-fast: false
matrix:
node: [14]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Use desired version of NodeJS
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ matrix.node }}
cache: npm
- name: npm install, build, format and lint
shell: bash
run: |
npm ci
bash ./bin/test-create-block.sh