Skip to content

Bump lint-staged from 13.2.3 to 14.0.1 (#115) #354

Bump lint-staged from 13.2.3 to 14.0.1 (#115)

Bump lint-staged from 13.2.3 to 14.0.1 (#115) #354

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@v3
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