Update workflow

master
Brad Cornes 2023-08-21 16:43:26 +01:00
parent 67eb02e659
commit fc7e38da1f
1 changed files with 7 additions and 1 deletions

View File

@ -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 }}