Skip to content

Add github workflow

Add github workflow #1

name: Website Check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
builds_and_checks:
runs_on: ubuntu-latest
steps:
- name: Checkout

Check failure on line 14 in .github/workflows/website-check.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/website-check.yaml

Invalid workflow file

You have an error in your yaml syntax on line 14
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
- node-version: 20.x
cache: "npm"
- name: Install Dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run format check
run: npx prettier --check .