feat: replace yarn to npm
Some checks failed
Publish / Publish npm package action (push) Failing after 8s
Some checks failed
Publish / Publish npm package action (push) Failing after 8s
This commit is contained in:
parent
fe0f6bbc78
commit
725bf9abb6
@ -16,6 +16,8 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
registry-url: https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/
|
||||||
|
scope: '@teacinema'
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
- name: 'Install dependencies'
|
||||||
run: echo "*** npm ci ***" && npm ci
|
run: echo "*** npm ci ***" && npm ci
|
||||||
@ -24,8 +26,6 @@ jobs:
|
|||||||
run: echo "*** npm run generate ***" && npm run generate
|
run: echo "*** npm run generate ***" && npm run generate
|
||||||
|
|
||||||
- name: 'Publish to Gitea npm registry'
|
- name: 'Publish to Gitea npm registry'
|
||||||
with:
|
|
||||||
registry-url: 'https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/'
|
|
||||||
run: echo "*** npm publish ***" && npm publish
|
run: echo "*** npm publish ***" && npm publish
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user