Skip to content

Commit 60a3c73

Browse files
committed
windows ci
1 parent 8aaa56c commit 60a3c73

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow ensures that Windows builds are exactly the same as on other platforms
2+
3+
name: Test on Windows
4+
5+
on:
6+
push:
7+
8+
jobs:
9+
test:
10+
runs-on: windows-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v5
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v5
17+
with:
18+
node-version: latest
19+
check-latest: true
20+
21+
- name: Install and build dependencies
22+
run: |
23+
corepack enable
24+
yarn install
25+
yarn workspaces foreach -Rt --from "@jahia/vite-plugin-fixtures" run build
26+
27+
- name: Run tests
28+
run: yarn workspace "@jahia/vite-plugin-fixtures" run test

0 commit comments

Comments
 (0)