Skip to content

Commit c63c996

Browse files
committed
build: added ESLint check build step
1 parent cfd77df commit c63c996

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ jobs:
4141
- name: Install PHP dependencies
4242
run: composer install --no-progress --prefer-dist --optimize-autoloader
4343

44-
#- name: Lint with PHPCS
45-
# run: phpmyfaq/src/libs/bin/phpcs --standard=PSR12 ./phpmyfaq/src/phpMyFAQ
46-
4744
- name: Setup Mago CLI
4845
uses: nhedger/setup-mago@v1
4946

@@ -82,8 +79,11 @@ jobs:
8279
restore-keys: |
8380
${{ runner.os }}-pnpm-store-
8481
85-
- name: Install dependencies
82+
- name: Install Node.js dependencies
8683
run: pnpm install
8784

85+
- name: Run ESLint check
86+
run: pnpm eslint .
87+
8888
- name: Run Vitest tests
8989
run: pnpm test

0 commit comments

Comments
 (0)