From 4495700f65703b27a6388727fda51b39ae774a0d Mon Sep 17 00:00:00 2001 From: realmarv Date: Thu, 3 Nov 2022 14:50:58 +0330 Subject: [PATCH] feat(GitHubCI): add job windows-2022 --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b23b980b8c..5f98f5c66d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,3 +114,30 @@ jobs: run: yarn build - name: Test run: yarn test-ci + + windows: + runs-on: windows-2022 + needs: checkout_code + + steps: + - name: Get repository's content + uses: actions/download-artifact@v3 + with: + name: repo + - uses: actions/cache@v3 + with: + path: node_modules + key: v1-dependencies-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + v1-dependencies-${{ hashFiles('**/yarn.lock') }} + v1-dependencies- + - name: Update yarn + run: | + node -v + yarn global add yarn@latest + - name: Install dependencies + run: yarn install --ignore-engines --frozen-lockfile + - name: Build packages + run: yarn build + - name: Test + run: yarn test-ci