Skip to content

Commit 3aec85f

Browse files
committed
wip
1 parent 8ab2d73 commit 3aec85f

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,29 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23+
- name: Move repository to "D:" drive
24+
run: |
25+
mkdir D:\a\tailwindcss-intellisense
26+
xcopy C:\a\* D:\a\tailwindcss-intellisense /E /H /C /I
27+
28+
- name: Set working directory
29+
run: echo "GITHUB_WORKSPACE=D:\a\tailwindcss-intellisense\tailwindcss-intellisense" >> $env:GITHUB_ENV
30+
2331
# On windows we need to setup a Dev Drive as Windows I/O has become ~10x
2432
# slower in Github Actions since it started putting stuff in C: instead
2533
# 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
34+
# - uses: samypr100/setup-dev-drive@v3
35+
# if: ${{ matrix.os == 'windows-latest' }}
36+
# with:
37+
# workspace-copy: true
38+
# drive-size: 2GB
3139

3240
# For non-windows we still want to use the `DEV_DRIVE_WORKSPACE` env var
3341
# even though we don't actually have a dev drive set up. This makes
3442
# 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
43+
# - name: Set DEV_DRIVE_WORKSPACE
44+
# if: ${{ matrix.os != 'windows-latest' }}
45+
# run: echo "DEV_DRIVE_WORKSPACE=${{ github.workspace }}" >> $GITHUB_ENV
3846

3947
- uses: pnpm/action-setup@v4
4048
- uses: actions/setup-node@v4
@@ -43,22 +51,22 @@ jobs:
4351
node-version: ${{ matrix.node-version }}
4452

4553
- name: Install dependencies
46-
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}
54+
working-directory: ${{ env.GITHUB_WORKSPACE }}
4755
run: pnpm install
4856

4957
- name: wip
5058
if: ${{ matrix.os == 'windows-latest' }}
51-
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}
59+
working-directory: ${{ env.GITHUB_WORKSPACE }}
5260
run: ls packages/tailwindcss-language-syntax/node_modules
5361

5462
- name: Run syntax tests
55-
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}/packages/tailwindcss-language-syntax
63+
working-directory: ${{ env.GITHUB_WORKSPACE }}/packages/tailwindcss-language-syntax
5664
run: pnpm run build && pnpm run test
5765

5866
- name: Run service tests
59-
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}/packages/tailwindcss-language-service
67+
working-directory: ${{ env.GITHUB_WORKSPACE }}/packages/tailwindcss-language-service
6068
run: pnpm run build && pnpm run test
6169

6270
- name: Run server tests
63-
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}/packages/tailwindcss-language-server
71+
working-directory: ${{ env.GITHUB_WORKSPACE }}/packages/tailwindcss-language-server
6472
run: pnpm run build && pnpm run test project-locator.test -t 'Sass files'

0 commit comments

Comments
 (0)