Skip to content

Commit

Permalink
chore: ci lint automation (#2) (#7)
Browse files Browse the repository at this point in the history
github actions를 이용한 lint automation 진행.
markdownlint만 추가.
  • Loading branch information
lumirlumir authored Jul 31, 2024
1 parent 9021bef commit 0be3c94
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ConventionCheck.yaml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: lint

on:
push:
branches: [main]

pull_request:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Set up checkout
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Set up cache
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

- name: Set up node_modules
run: npm ci

- name: Lint markdownlint
run: npm run lint-markdownlint

0 comments on commit 0be3c94

Please sign in to comment.