Skip to content

Commit b291a45

Browse files
authored
Merge pull request #93 from ember-cli/nvp/windows-tests
Add Windows tests
2 parents 9ed70e6 + 56f8137 commit b291a45

File tree

5 files changed

+165
-64
lines changed

5 files changed

+165
-64
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,25 @@ jobs:
2323

2424
test:
2525
name: Test
26-
runs-on: ubuntu-latest
26+
runs-on: ${{ matrix.os }}
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
os:
31+
- ubuntu-latest
32+
- windows-latest
33+
2734
steps:
2835
- uses: actions/checkout@v4
2936
- uses: pnpm/action-setup@v4
3037
- uses: actions/setup-node@v4
3138
with:
3239
node-version: 18
3340
cache: pnpm
41+
- name: Set TEMP to D:/Temp on windows
42+
if: ${{matrix.os}} == windows-latest
43+
run: |
44+
mkdir "D:\\Temp"
45+
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
3446
- run: pnpm install --frozen-lockfile
3547
- run: pnpm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"release-plan": "^0.16.0",
5050
"strip-ansi": "^7.1.0",
5151
"tmp-promise": "^3.0.3",
52-
"vitest": "^3.1.2"
52+
"vitest": "^3.2.4"
5353
},
5454
"packageManager": "[email protected]"
5555
}

0 commit comments

Comments
 (0)