Compare commits
2 Commits
6bbd40dee6
...
31da7457c2
| Author | SHA1 | Date | |
|---|---|---|---|
| 31da7457c2 | |||
| 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
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@teacinema/core",
|
"name": "@teacinema/core",
|
||||||
"version": "1.0.1-rc.0",
|
"version": "1.0.1",
|
||||||
"description": "Core utils and shared setup",
|
"description": "Core utils and shared setup",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user