@@ -12,53 +12,31 @@ jobs:
12
12
# node: [18, 20, 22, 24]
13
13
# os: [ubuntu-latest, macos-latest, windows-latest]
14
14
node : [24]
15
- os : [windows-latest ]
15
+ os : [namespace-profile- windows-amd64 ]
16
16
17
17
runs-on : ${{ matrix.os }}
18
18
name : Run Tests - Node v${{ matrix.node }} / ${{ matrix.os }}
19
19
20
20
steps :
21
21
- uses : actions/checkout@v4
22
22
23
- # On windows we need to setup a Dev Drive as Windows I/O has become ~10x
24
- # slower in Github Actions since it started putting stuff in C: instead
25
- # of D: like it used to
26
- - uses : samypr100/setup-dev-drive@v3
27
- if : ${{ matrix.os == 'windows-latest' }}
28
- with :
29
- workspace-copy : true
30
- drive-size : 2GB
31
-
32
- # For non-windows we still want to use the `DEV_DRIVE_WORKSPACE` env var
33
- # even though we don't actually have a dev drive set up. This makes
34
- # writing the jobs below simpler
35
- - name : Set DEV_DRIVE_WORKSPACE
36
- if : ${{ matrix.os != 'windows-latest' }}
37
- run : echo "DEV_DRIVE_WORKSPACE=${{ github.workspace }}" >> $GITHUB_ENV
38
-
39
23
- uses : pnpm/action-setup@v4
40
24
- uses : actions/setup-node@v4
41
25
with :
42
26
cache : ' pnpm'
43
27
node-version : ${{ matrix.node-version }}
44
28
45
29
- name : Install dependencies
46
- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}
47
30
run : pnpm install
48
31
49
- - name : wip
50
- if : ${{ matrix.os == 'windows-latest' }}
51
- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}
52
- run : ls packages/tailwindcss-language-syntax/node_modules/dedent
53
-
54
32
- name : Run syntax tests
55
- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}/ packages/tailwindcss-language-syntax
33
+ working-directory : packages/tailwindcss-language-syntax
56
34
run : pnpm run build && pnpm run test
57
35
58
36
- name : Run service tests
59
- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}/ packages/tailwindcss-language-service
37
+ working-directory : packages/tailwindcss-language-service
60
38
run : pnpm run build && pnpm run test
61
39
62
40
- name : Run server tests
63
- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}/ packages/tailwindcss-language-server
41
+ working-directory : packages/tailwindcss-language-server
64
42
run : pnpm run build && pnpm run test project-locator.test -t 'Sass files'
0 commit comments