diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 8fa260e..be94c1f 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -71,15 +71,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' # Specify your Node.js version here - - - name: Install Dependencies - run: npm install - - - name: Build - run: npm run build - - - name: Publish to NPM - run: npm publish + registry-url: 'https://registry.npmjs.org' + - run: npm ci + - run: npm run build + - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.npmrc b/.npmrc index 38f11c6..214c29d 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1 @@ -registry=https://registry.npmjs.org +registry=https://registry.npmjs.org/