File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
packages/tailwindcss-language-server Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -18,31 +18,27 @@ jobs:
1818 cache : ' pnpm'
1919 - name : Install dependencies
2020 run : pnpm install
21+ - name : Build everything
22+ run : pnpm -r run build
2123 - 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
2725 - name : Bump IntelliSense version
2826 run : >
2927 node .github/workflows/bump-version.mjs &&
3028 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
3929 - name : Resolve LSP version
4030 run : |
4131 echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
4232 - name : ' Version LSP based on commit: 0.0.0-insiders.${{ env.SHA_SHORT }}'
4333 run : >
4434 cd packages/tailwindcss-language-server &&
4535 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
4642 - name : Publish LSP
4743 run : >
4844 cd packages/tailwindcss-language-server &&
Original file line number Diff line number Diff line change 2020 "create-notices-file" : " node scripts/createNoticesFile.mjs" ,
2121 "prepublishOnly" : " pnpm run build" ,
2222 "test" : " vitest" ,
23- "test:prepare " : " node tests/prepare.js"
23+ "pretest " : " node tests/prepare.js"
2424 },
2525 "bin" : {
2626 "tailwindcss-language-server" : " ./bin/tailwindcss-language-server"
You can’t perform that action at this time.
0 commit comments