From 1a9a5dbe464fa12908115fe1309397a6504c3f07 Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Wed, 21 Jan 2026 06:18:27 +0300 Subject: [PATCH] feat: replace yarn to npm --- .gitea/workflows/publish.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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 }}