Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlc committed Aug 21, 2023
1 parent 67eb02e commit fc7e38d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit fc7e38d

Please sign in to comment.