Skip to content

Commit

Permalink
Merge pull request #1480 from ryoppippi/feature/ci
Browse files Browse the repository at this point in the history
feat: add GitHub Actions CI workflow for code quality
  • Loading branch information
samchon authored Feb 3, 2025
2 parents a6dc1e4 + 5b99d41 commit c9780a9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ jobs:
src
lib
Check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm install
- run: npm run eslint
- run: npm run prettier

NodeJS:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -87,6 +98,7 @@ jobs:
action-timeline:
needs:
- Build-and-Upload-to-pkg-pr-new-and-artifactory
- Check-format
- NodeJS
- Bun
if: ${{ always() }}
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"dev:errors": "tsc --project tsconfig.errors.json --watch",
"eslint": "eslint",
"eslint:fix": "eslint --fix",
"prettier": "prettier src --write",
"prettier": "prettier src --check",
"prettier:fix": "prettier src --write",
"------------------------------------------------": "",
"package:latest": "ts-node deploy --tag latest",
"package:next": "ts-node deploy --tag next",
Expand Down Expand Up @@ -119,4 +120,5 @@
"llama"
],
"private": true
}
}

0 comments on commit c9780a9

Please sign in to comment.