From f66ce4c17cd61945744494710a12b894ab6d739f Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 2 Aug 2023 16:31:35 +0200 Subject: [PATCH] chore: ci --- .github/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5f135c..eb65cfa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,6 @@ jobs: lint: runs-on: ubuntu-latest steps: - - name: Set git to use LF - run: | - git config --global core.autocrlf false - git config --global core.eol lf - - uses: actions/checkout@v3 - name: Set node uses: actions/setup-node@v3 @@ -52,15 +47,19 @@ jobs: run: nr typecheck test: - runs-on: ${{ matrix.os }} - strategy: matrix: node: [16.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] fail-fast: false + runs-on: ${{ matrix.os }} + steps: + - name: Set git to use LF + run: | + git config --global core.autocrlf false + git config --global core.eol lf - uses: actions/checkout@v3 - name: Set node ${{ matrix.node }} uses: actions/setup-node@v3