From 12bf9430503af0c88239f7402616583a12fe1543 Mon Sep 17 00:00:00 2001 From: hywax Date: Thu, 1 Feb 2024 21:06:17 +0500 Subject: [PATCH] ci: refactor ci plan --- .github/workflows/{lint.yml => ci.yml} | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) rename .github/workflows/{lint.yml => ci.yml} (70%) diff --git a/.github/workflows/lint.yml b/.github/workflows/ci.yml similarity index 70% rename from .github/workflows/lint.yml rename to .github/workflows/ci.yml index 85e43f0..8dbdb87 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/ci.yml @@ -1,15 +1,24 @@ -name: Run Linters +name: CI on: push: + paths-ignore: + - "docs/**" + - ".md" branches: - main pull_request: + paths-ignore: + - "docs/**" + - "*.md" + branches: + - main jobs: - lint: + build: name: ${{ matrix.os }} runs-on: ${{ matrix.os }} + timeout-minutes: 10 strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] @@ -30,3 +39,6 @@ jobs: - name: Types run: yarn run typecheck + + - name: Build + run: yarn run build