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