Skip to content

Commit

Permalink
Update GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Nov 14, 2024
1 parent fa2ae6a commit f8fc30b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 32 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/generateCheck.sh

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/lint-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint and Formatting Check

on: push

jobs:
main:
name: Run ESLint + Prettier
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'

- name: Run npm install
run: npm ci

- name: Run ESLint
run: npm run lint:check

- name: Run Prettier
run: npm run format:check
16 changes: 0 additions & 16 deletions .github/workflows/prettierCheck.yml

This file was deleted.

0 comments on commit f8fc30b

Please sign in to comment.