Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ on:

jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- run: corepack enable
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
shamefully-hoist=true
shell-emulator=true

3 changes: 2 additions & 1 deletion test/e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { createServer } from 'node:http'
import { fileURLToPath } from 'node:url'
import os from 'node:os'

import { getRandomPort } from 'get-port-please'
import { createApp, readBody, toNodeListener, defineEventHandler } from 'h3'
Expand All @@ -15,7 +16,7 @@ const app = createApp().use(defineEventHandler(async (event) => {
delete body.context.nodeVersion
expect(body.context.nuxtVersion).toBeDefined()
delete body.context.nuxtVersion
expect(body.context.os).toEqual(process.platform)
expect(body.context.os).toEqual(os.type().toLocaleLowerCase())
delete body.context.os
expect(body.context.projectHash).toBeDefined()
expect(body.context.projectSession).toBeDefined()
Expand Down
Loading