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

This commit is contained in:
Sergey Krylov 2026-01-21 06:10:13 +03:00
parent fe0f6bbc78
commit 725bf9abb6

View File

@ -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 }}