Skip to content

Commit fc7e38d

Browse files
committed
Update workflow
1 parent 67eb02e commit fc7e38d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/pre-release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ jobs:
1111
- uses: actions/setup-node@v3
1212
with:
1313
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') }}
1420
- name: Install dependencies
1521
run: npm install && npm run bootstrap
1622
- name: Bump version
@@ -33,6 +39,6 @@ jobs:
3339
- name: Publish LSP
3440
run: >
3541
cd packages/tailwindcss-language-server &&
36-
npm publish --tag insiders
42+
npm publish --tag insiders --access public
3743
env:
3844
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)