diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 3149104..034512b 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -18,20 +18,15 @@ jobs: node-version: 20 registry-url: https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/ scope: '@teacinema' - - - name: 'Install dependencies1' run: corepack enable - - name: 'Install dependencies2' - run: yarn --version - - name: 'Install dependencies' - run: echo "*** npm ci ***" && npm ci + run: yarn install --frozen-lockfile - name: 'Generate contracts' - run: echo "*** npm run generate ***" && npm run generate + run: yarn generate - name: 'Publish to Gitea npm registry' - run: echo "*** npm publish ***" && npm publish + run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}