Skip to content

Commit

Permalink
feat(GitHubCI): add job windows-2022
Browse files Browse the repository at this point in the history
  • Loading branch information
tehraninasab committed Feb 25, 2023
1 parent 2dbadff commit 4495700
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4495700

Please sign in to comment.