Skip to content

Commit

Permalink
Merge branch 'main' into feat/article-options
Browse files Browse the repository at this point in the history
  • Loading branch information
Sembauke committed Aug 17, 2023
2 parents 2e1fc94 + f8d9fc3 commit a6663bd
Show file tree
Hide file tree
Showing 18 changed files with 1,865 additions and 1,446 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Frontend Lint

on:
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Install dependencies
working-directory: ./publish-frontend
run: npm install
- name: Run lint
working-directory: ./publish-frontend
run: npm run lint
6 changes: 6 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

cd publish-frontend
npx lint-staged

Loading

0 comments on commit a6663bd

Please sign in to comment.