From 1304724dd3252bd4aed7a28c6536b9ba1ae06c07 Mon Sep 17 00:00:00 2001 From: Sanskar Lamsal <71601419+SansCaar@users.noreply.github.com> Date: Thu, 4 Jul 2024 14:25:10 +0000 Subject: [PATCH] Added lint in same file ad renamed toe file as Tests --- .github/workflows/lint.yaml | 31 -------------------- .github/workflows/{build.yaml => tests.yaml} | 8 ++--- 2 files changed, 4 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/lint.yaml rename .github/workflows/{build.yaml => tests.yaml} (84%) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml deleted file mode 100644 index 7e825e0..0000000 --- a/.github/workflows/lint.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Lint - -on: - push: - branches: - - '*' - -jobs: - lint: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '16' # Use Node.js 16.x - - - name: Install pnpm - run: npm install -g pnpm - - - name: Changing Directory - run: cd nepalingo-web - - - name: Install dependencies - run: pnpm install - - - name: Lint code - run: pnpm run lint \ No newline at end of file diff --git a/.github/workflows/build.yaml b/.github/workflows/tests.yaml similarity index 84% rename from .github/workflows/build.yaml rename to .github/workflows/tests.yaml index 02f6433..31d12f2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/tests.yaml @@ -1,4 +1,4 @@ -name: Build +name: Tests on: push: @@ -26,8 +26,8 @@ jobs: - name: Install dependencies run: pnpm install - # - name: Lint code - # run: pnpm run lint + - name: Lint code + run: pnpm run lint - - name: Build project + - name: Test Build run: pnpm run build \ No newline at end of file