Skip to content

Commit

Permalink
Add linting and link check
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshpinto committed Jun 6, 2024
1 parent bc6f0bd commit bfcffc8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

jobs:
build:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/lint-check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint and check links

on:
pull_request:
branches:
- main

jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Prettier Code
run: npm run format:diff

0 comments on commit bfcffc8

Please sign in to comment.