This commit is contained in:
parent
21ef7eb81c
commit
6bbd40dee6
19
.gitea/workflows/publish.yml
Normal file
19
.gitea/workflows/publish.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
registry-url: 'https://git.ksv741.keenetic.pro/api/packages/teacinema/npm/'
|
||||||
|
- run: npm publish
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@teacinema/core",
|
"name": "@teacinema/core",
|
||||||
"version": "1.0.1",
|
"version": "1.0.1-rc.0",
|
||||||
"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