From 39b8d62d1a86b22364131a2c7a027f7d1b9a0378 Mon Sep 17 00:00:00 2001 From: ksw2000 <13825170+ksw2000@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:16:58 +0800 Subject: [PATCH] action: run lint on push --- .github/workflows/gitpage.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gitpage.yaml b/.github/workflows/gitpage.yaml index d3a8fe1..5b6b81b 100644 --- a/.github/workflows/gitpage.yaml +++ b/.github/workflows/gitpage.yaml @@ -12,12 +12,13 @@ jobs: - uses: actions/setup-node@v2 with: node-version: 20 - - name: build run: | npm ci npx ng add angular-cli-ghpages --skip-confirmation npx ng build --base-href=/${{ github.event.repository.name }}/ + - name: lint + run: npm run lint - name: commit and push run: | cd dist/${{ github.event.repository.name }}/browser