From c1dfacdcd462e749481e00d109e90ddd9eaafc2b Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Thu, 7 Dec 2023 17:14:26 +0100 Subject: [PATCH] Do not lint, but build in Test --- .github/workflows/{main.yml => test.yml} | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) rename .github/workflows/{main.yml => test.yml} (66%) diff --git a/.github/workflows/main.yml b/.github/workflows/test.yml similarity index 66% rename from .github/workflows/main.yml rename to .github/workflows/test.yml index 9015c94..895a576 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,5 @@ -name: Lint +name: Test + on: push: branches: @@ -7,22 +8,26 @@ on: branches: - main +env: + FORCE_COLOR: 2 + jobs: - lint: + test: runs-on: ubuntu-latest - env: - FORCE_COLOR: 2 steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 with: - version: latest + version: 8 - uses: actions/setup-node@v4 with: node-version: 20 cache: pnpm - name: Install dependencies run: pnpm install --ignore-scripts - - name: Lint - run: pnpm lint + # pre-commit dioes this for us + # - name: Lint + # run: pnpm run lint + - name: Build + run: pnpm run build