feat: replace yarn to npm
Some checks failed
Publish / Publish npm package action (push) Failing after 2s
Some checks failed
Publish / Publish npm package action (push) Failing after 2s
This commit is contained in:
parent
716bc0db97
commit
f596a40434
@ -24,11 +24,9 @@ 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'
|
||||||
run: |
|
uses: actions/setup-node@v4
|
||||||
echo "@teacinema:registry=https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/" >> ~/.npmrc
|
with:
|
||||||
echo "//git.ksv741.keenetic.pro/api/packages/teacinema/npm/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
registry-url: 'https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/'
|
||||||
echo "*** cat ~/.npmrc ***"
|
run: echo "*** npm publish ***" && npm publish
|
||||||
cat ~/.npmrc
|
|
||||||
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