Skip to content

Action workflow creates a cat surprise gif #2134

Action workflow creates a cat surprise gif

Action workflow creates a cat surprise gif #2134

name: Check formatting
on:
workflow_dispatch:
pull_request:
permissions:
contents: read
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Check out repo
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- name: Setup node
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b
with:
node-version-file: '.node-version'
cache: npm
- name: Install dependencies
run: npm ci
- name: Check code style
run: npm run format:check