From f617bc8e2ae01947999e2af4e97332b1d53e1a87 Mon Sep 17 00:00:00 2001 From: Huei Tan Date: Wed, 22 Nov 2023 11:54:29 +0100 Subject: [PATCH] update github action --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b15bbd3..f05d581 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,11 +25,16 @@ jobs: with: php-version: '8.2' + - name: Install PHP_CodeSniffer + run: | + curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar + php phpcs.phar --version + - name: Install and Build run: | npm install npm run build - + - name: Linter run: | npm run lint:js