Skip to content

merge

merge #156

Workflow file for this run

name: Format & Lint
on:
workflow_call:
secrets:
GH_TOKEN:
description: 'GitHub Token'
required: true
push:
branches:
- '*'
- '!deploy'
- '!gh-pages'
permissions:
contents: read
jobs:
format_and_lint:
runs-on: ubuntu-latest
steps:
- name: Retrieve git dependencies
uses: actions/checkout@v3
with:
submodules: 'true'
token: ${{ secrets.GH_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: v20.4
- name: Run
run: |
echo "Installing dependencies..."
npm i
echo "Running formatter..."
npm run fmt
npm run lint