Skip to content

Commit 1f73837

Browse files
committed
feat(GitHubCI): add job windows-2022
1 parent 9999e86 commit 1f73837

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
@@ -114,3 +114,30 @@ jobs:
114114
run: yarn build
115115
- name: Test
116116
run: yarn test-ci
117+
118+
windows:
119+
runs-on: windows-2022
120+
needs: checkout_code
121+
122+
steps:
123+
- name: Get repository's content
124+
uses: actions/download-artifact@v3
125+
with:
126+
name: repo
127+
- uses: actions/cache@v3
128+
with:
129+
path: node_modules
130+
key: v1-dependencies-${{ hashFiles('**/yarn.lock') }}
131+
restore-keys: |
132+
v1-dependencies-${{ hashFiles('**/yarn.lock') }}
133+
v1-dependencies-
134+
- name: Update yarn
135+
run: |
136+
node -v
137+
yarn global add yarn@latest
138+
- name: Install dependencies
139+
run: yarn install --ignore-engines --frozen-lockfile
140+
- name: Build packages
141+
run: yarn build
142+
- name: Test
143+
run: yarn test-ci

0 commit comments

Comments
 (0)