Skip to content

Commit fed0bff

Browse files
committed
feat(GitHubCI): add job windows-2022
1 parent 0c80dae commit fed0bff

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/CI.yml

+27
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,30 @@ jobs:
117117
run: yarn build
118118
- name: Test
119119
run: yarn test-ci
120+
121+
windows:
122+
runs-on: windows-2022
123+
needs: checkout_code
124+
125+
steps:
126+
- name: Get repository's content
127+
uses: actions/download-artifact@v3
128+
with:
129+
name: repo
130+
- uses: actions/cache@v3
131+
with:
132+
path: node_modules
133+
key: v1-dependencies-${{ hashFiles('**/yarn.lock') }}
134+
restore-keys: |
135+
v1-dependencies-${{ hashFiles('**/yarn.lock') }}
136+
v1-dependencies-
137+
- name: Update yarn
138+
run: |
139+
node -v
140+
yarn global add yarn@latest
141+
- name: Install dependencies
142+
run: yarn install --ignore-engines --frozen-lockfile
143+
- name: Build packages
144+
run: yarn build
145+
- name: Test
146+
run: yarn test-ci

0 commit comments

Comments
 (0)