Update workflow
parent
67eb02e659
commit
fc7e38da1f
|
@ -11,6 +11,12 @@ jobs:
|
|||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-node_modules-${{ hashFiles('**/package-lock.json') }}
|
||||
- name: Install dependencies
|
||||
run: npm install && npm run bootstrap
|
||||
- name: Bump version
|
||||
|
@ -33,6 +39,6 @@ jobs:
|
|||
- name: Publish LSP
|
||||
run: >
|
||||
cd packages/tailwindcss-language-server &&
|
||||
npm publish --tag insiders
|
||||
npm publish --tag insiders --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue