@@ -12,53 +12,31 @@ jobs:
1212 # node: [18, 20, 22, 24]
1313 # os: [ubuntu-latest, macos-latest, windows-latest]
1414 node : [24]
15- os : [windows-latest ]
15+ os : [namespace-profile- windows-amd64 ]
1616
1717 runs-on : ${{ matrix.os }}
1818 name : Run Tests - Node v${{ matrix.node }} / ${{ matrix.os }}
1919
2020 steps :
2121 - uses : actions/checkout@v4
2222
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-
3923 - uses : pnpm/action-setup@v4
4024 - uses : actions/setup-node@v4
4125 with :
4226 cache : ' pnpm'
4327 node-version : ${{ matrix.node-version }}
4428
4529 - name : Install dependencies
46- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}
4730 run : pnpm install
4831
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-
5432 - name : Run syntax tests
55- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}/ packages/tailwindcss-language-syntax
33+ working-directory : packages/tailwindcss-language-syntax
5634 run : pnpm run build && pnpm run test
5735
5836 - name : Run service tests
59- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}/ packages/tailwindcss-language-service
37+ working-directory : packages/tailwindcss-language-service
6038 run : pnpm run build && pnpm run test
6139
6240 - name : Run server tests
63- working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}/ packages/tailwindcss-language-server
41+ working-directory : packages/tailwindcss-language-server
6442 run : pnpm run build && pnpm run test project-locator.test -t 'Sass files'
0 commit comments