Skip to content

Commit

Permalink
Add check run job
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanchauict committed Dec 12, 2024
1 parent 7fdd638 commit 252e46c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/code-heal-check-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,26 @@ jobs:
run: cd monosketch-svelte && pnpm install
- name: Run Lint
run: cd monosketch-svelte && pnpm run lint

check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
- name: Cache node modules
uses: actions/cache@v4
with:
path: |
monosketch-svelte/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('monosketch-svelte/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: cd monosketch-svelte && pnpm install
- name: Run Lint
run: cd monosketch-svelte && pnpm run check

0 comments on commit 252e46c

Please sign in to comment.