Skip to content

Update Github Actions Security workflow #14

Update Github Actions Security workflow

Update Github Actions Security workflow #14

Workflow file for this run

name: Format Check
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check if code is formatted
run: |
npm run format-check