ci: add job's names
This commit is contained in:
parent
6bbd40dee6
commit
ffa7664edd
@ -6,14 +6,20 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
name: 'Publish to Gitea npm registry'
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: 'Checkout repository'
|
||||||
- uses: actions/setup-node@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: 'Setup dependencies'
|
||||||
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
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/'
|
||||||
- run: npm publish
|
|
||||||
|
- name: 'Publish to Gitea npm registry'
|
||||||
|
run: npm publish
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
9
.npmignore
Normal file
9
.npmignore
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/node_modules/
|
||||||
|
*.log
|
||||||
|
pnpm-lock.yaml
|
||||||
|
yarn.lock
|
||||||
|
.env
|
||||||
|
.DS_Store
|
||||||
|
.log
|
||||||
|
.vscode/
|
||||||
|
Thumbs.db
|
||||||
Loading…
x
Reference in New Issue
Block a user