Skip to content

Bump actions/checkout from 3 to 4 (#500) #685

Bump actions/checkout from 3 to 4 (#500)

Bump actions/checkout from 3 to 4 (#500) #685

Workflow file for this run

# This workflow checks code formatting
name: Run Prettier
# This action works with pull requests and pushes
on:
pull_request:
push:
branches:
# Push events on development branch
- develop
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.ref }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- name: Install dependencies
run: |
npm ci
- name: Prettify code
run: |
npm run check