From fc7e38da1ffedd8f279c7362232e0c2c29ef2cad Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Mon, 21 Aug 2023 16:43:26 +0100 Subject: [PATCH] Update workflow --- .github/workflows/pre-release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index a9b0fbf9..ff66c20d 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -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 }}