Skip to content

Bump actions/setup-node from 2 to 4 #477

Bump actions/setup-node from 2 to 4

Bump actions/setup-node from 2 to 4 #477

Workflow file for this run

name: Prettier
on:
push:
paths:
- "**/*.js"
- "**/*.json"
- "**/*.md"
- "**/*.scss"
- "**/*.yaml"
- ".github/workflows/prettier.yaml"
- "package.json"
- "package-lock.json"
jobs:
prettier:
name: Check formatting
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 12
- name: Cache NPM
uses: actions/[email protected]
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
- name: Setup
run: npm ci
- name: Run Prettier Check
run: npx prettier . --check