diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 976fc4b0f5..22c159d639 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,6 +25,12 @@ jobs: key: ${{ hashFiles('**/yarn.lock') }} - uses: oven-sh/setup-bun@v1 + # without this we would get E403 and ENEEDAUTH while publishing + # it is unclear why setup-node does not take care of this + - run: npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Install modules run: yarn install --frozen-lockfile diff --git a/internals/scripts/source/publish.ts b/internals/scripts/source/publish.ts index c6561da3ea..75097b6f58 100644 --- a/internals/scripts/source/publish.ts +++ b/internals/scripts/source/publish.ts @@ -2,7 +2,7 @@ import { $, semver } from 'bun' import { z } from 'zod' -const packagesToConsider = ['packages/yoco'] +const packagesToConsider = ['packages/eslint-config'] const packageJsonSchema = z.object({ name: z.string(), version: z.string() })