feat: replace yarn to npm
Some checks failed
Publish / Publish npm package action (push) Failing after 2s

This commit is contained in:
Sergey Krylov 2026-01-21 06:18:27 +03:00
parent a19a91aa64
commit 1a9a5dbe46

View File

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