diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 33bf89f0eb..1bdf1bd446 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -23,6 +23,11 @@ runs: node-version-file: .nvmrc cache: yarn cache-dependency-path: yarn.lock + registry-url: 'https://registry.npmjs.org' + + - name: Update npm to latest + run: npm install -g npm@latest + shell: bash - name: Install dependencies run: yarn install --immutable diff --git a/.github/workflows/build-npm.yml b/.github/workflows/build-npm.yml index 15cb764f9e..879260e96e 100644 --- a/.github/workflows/build-npm.yml +++ b/.github/workflows/build-npm.yml @@ -34,8 +34,8 @@ jobs: yarn release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + YARN_NPM_AUTH_TOKEN: '' + NPM_TOKEN: '' NPM_CONFIG_PROVENANCE: true - name: Deploy to GitHub Pages