From dd58923cd154d26e80ee6e385e44c995d997a826 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 14 Nov 2022 16:48:22 +0800 Subject: [PATCH] ci: move Windows CI to GitHub actions --- .github/workflows/ci.yml | 10 +++++++++- appveyor.yml | 17 ----------------- 2 files changed, 9 insertions(+), 18 deletions(-) delete mode 100644 appveyor.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8c82f1c3..0d537cbb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,15 @@ on: - master jobs: unit-test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + fail-fast: false + name: "Unit Test: ${{ matrix.os }}" steps: - uses: actions/checkout@v2 diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index fd5deb4c0..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,17 +0,0 @@ -environment: - nodejs_version: "16" - -install: - - ps: Install-Product node $env:nodejs_version - - curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7 - - pnpm install - -test_script: - - git --version - - node --version - - pnpm test - -cache: - - node_modules -> yarn.lock - -build: off