Skip to content

initialization

initialization #1

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Check formatting
on:
# Runs on pushes targeting the default branch
pull_request:
branches: ['develop']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
jobs:
# Single deploy job since we're just deploying
check-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check linting
run: npm run lint:check
- name: Check formating
run: npm run format:check
- name: Build
run: npm run build