From cb5cdd560f1c7d1c5bc1462776da621f8784cd1d Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Fri, 4 Mar 2022 23:17:19 -0800 Subject: [PATCH] ci(fast): use windows-latest (#2755) --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71dd805cc9..a5e18813b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: needs: dependabolt strategy: matrix: - os: [windows-2019, macOS-latest, ubuntu-latest] + os: [windows-latest, macOS-latest, ubuntu-latest] steps: - name: Fix git checkout line endings run: git config --global core.autocrlf input @@ -42,6 +42,13 @@ jobs: with: node-version: 12.x cache: yarn + - name: Install latest NPM on Windows + if: matrix.os == 'windows-latest' + # See https://github.com/actions/virtual-environments/issues/4856#issuecomment-1043256330 + # and https://github.com/actions/setup-node/issues/411#issuecomment-1051084491 + run: | + npm install -g npm@8.3.1 + npm install -g npm@latest - name: Install bolt shell: bash run: |