diff --git a/.github/workflows/publish-github.yml b/.github/workflows/publish-github.yml index 0b85014..830515f 100644 --- a/.github/workflows/publish-github.yml +++ b/.github/workflows/publish-github.yml @@ -19,6 +19,18 @@ jobs: node-version: "20.x" registry-url: "https://npm.pkg.github.com" scope: "@oconva" + + - name: set registery + run: npm config set registry https://npm.pkg.github.com/oconva + + - name: set auth + run: npm config set //npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} + + - name: set org registry + run: npm config set @oconva:registry https://npm.pkg.github.com + + - name: set always-auth + run: npm config set always-auth true - name: Install dependencies run: npm ci