diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index b447b2d..f218441 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -16,6 +16,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 + registry-url: https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/ + scope: '@teacinema' - name: 'Install dependencies' run: echo "*** npm ci ***" && npm ci @@ -24,8 +26,6 @@ jobs: run: echo "*** npm run generate ***" && npm run generate - name: 'Publish to Gitea npm registry' - with: - registry-url: 'https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/' run: echo "*** npm publish ***" && npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}