File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Release
2+ concurrency : publish
3+ on :
4+ workflow_dispatch : {}
5+
6+ jobs :
7+ publish :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - uses : actions/setup-node@v3
12+ with :
13+ node-version : 18
14+ registry-url : " https://registry.npmjs.org"
15+ - name : Cache node_modules
16+ uses : actions/cache@v3
17+ with :
18+ path : node_modules
19+ key : ${{ runner.os }}-${{ env.NODE_VERSION }}-node_modules-${{ hashFiles('**/package-lock.json') }}
20+ - name : Install dependencies
21+ run : npm install && npm run bootstrap
22+ - name : Run tests
23+ run : >
24+ cd packages/tailwindcss-language-server &&
25+ npm run build &&
26+ npm run test:prepare &&
27+ npm test
28+ - name : Publish IntelliSense
29+ env :
30+ VSCODE_TOKEN : ${{ secrets.VSCODE_TOKEN }}
31+ run : >
32+ cd packages/vscode-tailwindcss &&
33+ npm run publish -- -p $VSCODE_TOKEN
You can’t perform that action at this time.
0 commit comments