From c44b6fabdc79b8771f7f4db9509666509abf016a Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Wed, 14 Feb 2024 01:05:57 +0100 Subject: [PATCH] ci: replace appveyor with gh actions windows builder (#706) --- .github/workflows/main.yml | 8 +++++++- appveyor.yml | 38 -------------------------------------- 2 files changed, 7 insertions(+), 39 deletions(-) delete mode 100644 appveyor.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3386b2087..c9045e398 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20] + os: + - ubuntu-latest + - windows-latest + node-version: + - 20 + architecture: + - x64 name: ${{ matrix.os }} - Node ${{ matrix.node-version }} (${{ matrix.architecture }}) steps: - name: Checkout diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 97ed34d73..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,38 +0,0 @@ -environment: - matrix: - - nodejs_version: Current - platform: x64 - -install: - - choco install -y firefox --ignore-checksums - - choco install -y googlechrome --ignore-checksums - - ps: Install-Product node $env:nodejs_version $env:platform - - set CI=true - - npm install --global npm@latest - - set PATH=%APPDATA%\npm;%PATH% - - npm install - -matrix: - fast_finish: true - -platform: - - x64 - -# Disable automatic builds -build: off - -# Do not build on gh tags -skip_tags: true -shallow_clone: true - -test_script: - - node --version - - npm --version - - npm run lint - - npm run build - - npm run test - - npm run docs - -cache: - - '%APPDATA%\npm-cache' - - node_modules -> package.json