File tree 2 files changed +10
-14
lines changed
packages/tailwindcss-language-server
2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -18,31 +18,27 @@ jobs:
18
18
cache : ' pnpm'
19
19
- name : Install dependencies
20
20
run : pnpm install
21
+ - name : Build everything
22
+ run : pnpm -r run build
21
23
- name : Run tests
22
- run : >
23
- cd packages/tailwindcss-language-server &&
24
- pnpm run build &&
25
- pnpm run test:prepare &&
26
- pnpm test
24
+ run : pnpm --filter ./packages/tailwindcss-language-server run test
27
25
- name : Bump IntelliSense version
28
26
run : >
29
27
node .github/workflows/bump-version.mjs &&
30
28
cat packages/vscode-tailwindcss/package.json
31
- - name : Publish IntelliSense
32
- env :
33
- VSCODE_TOKEN : ${{ secrets.VSCODE_TOKEN }}
34
- run : >
35
- cd packages/vscode-tailwindcss &&
36
- pnpm run publish --pre-release -p $VSCODE_TOKEN
37
- - name : Build LSP
38
- run : pnpm run build --workspace=packages/tailwindcss-language-server
39
29
- name : Resolve LSP version
40
30
run : |
41
31
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
42
32
- name : ' Version LSP based on commit: 0.0.0-insiders.${{ env.SHA_SHORT }}'
43
33
run : >
44
34
cd packages/tailwindcss-language-server &&
45
35
pnpm version 0.0.0-insiders.${{ env.SHA_SHORT }} --force --no-git-tag-version
36
+ - name : Publish IntelliSense
37
+ env :
38
+ VSCODE_TOKEN : ${{ secrets.VSCODE_TOKEN }}
39
+ run : >
40
+ cd packages/vscode-tailwindcss &&
41
+ pnpm run publish --pre-release -p $VSCODE_TOKEN
46
42
- name : Publish LSP
47
43
run : >
48
44
cd packages/tailwindcss-language-server &&
Original file line number Diff line number Diff line change 20
20
"create-notices-file" : " node scripts/createNoticesFile.mjs" ,
21
21
"prepublishOnly" : " pnpm run build" ,
22
22
"test" : " vitest" ,
23
- "test:prepare " : " node tests/prepare.js"
23
+ "pretest " : " node tests/prepare.js"
24
24
},
25
25
"bin" : {
26
26
"tailwindcss-language-server" : " ./bin/tailwindcss-language-server"
You can’t perform that action at this time.
0 commit comments