Skip to content

Commit 3f1337a

Browse files
committed
wip
1 parent 80e0a31 commit 3f1337a

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

.github/workflows/ci.yml

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

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

4032
# For non-windows we still want to use the `DEV_DRIVE_WORKSPACE` env var
4133
# even though we don't actually have a dev drive set up. This makes
4234
# writing the jobs below simpler
43-
# - name: Set DEV_DRIVE_WORKSPACE
44-
# if: ${{ matrix.os != 'windows-latest' }}
45-
# run: echo "DEV_DRIVE_WORKSPACE=${{ github.workspace }}" >> $GITHUB_ENV
35+
- name: Set DEV_DRIVE_WORKSPACE
36+
if: ${{ matrix.os != 'windows-latest' }}
37+
run: echo "DEV_DRIVE_WORKSPACE=${{ github.workspace }}" >> $GITHUB_ENV
4638

4739
- uses: pnpm/action-setup@v4
4840
- uses: actions/setup-node@v4
@@ -51,22 +43,22 @@ jobs:
5143
node-version: ${{ matrix.node-version }}
5244

5345
- name: Install dependencies
54-
working-directory: ${{ env.GITHUB_WORKSPACE }}
46+
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}
5547
run: pnpm install
5648

5749
- name: wip
5850
if: ${{ matrix.os == 'windows-latest' }}
59-
working-directory: ${{ env.GITHUB_WORKSPACE }}
51+
working-directory: ${{ env.DEV_DRIVE_WORKSPACE }}
6052
run: ls packages/tailwindcss-language-syntax/node_modules
6153

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

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

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

0 commit comments

Comments
 (0)