From 34c0308ce0147e3806f17afd87aaadf9a948c1ab Mon Sep 17 00:00:00 2001 From: Yelin Jeong Date: Tue, 18 Jun 2024 18:43:28 +0900 Subject: [PATCH] [action] add lint check steps in tizen-web workflows This patch adds lint check steps in tizen-web workflows. Signed-off-by: Yelin Jeong --- .github/workflows/tizen-web.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tizen-web.yml b/.github/workflows/tizen-web.yml index ae0caccd..9df2e286 100644 --- a/.github/workflows/tizen-web.yml +++ b/.github/workflows/tizen-web.yml @@ -20,6 +20,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: -${{ github.event.pull_request.commits }} + - name: Lint check + run: | + pushd Tizen.web + npm i -g eslint + npm i + eslint --config eslint.config.mjs . + popd - name: Install Tizen Studio run: | wget -nc -O ${{ github.workspace }}/installer $TIZEN_STUDIO_URL