Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
7f8d46bd69
|
|||
2316cc6f86
|
|||
90d0bc01c5
|
@@ -2,18 +2,13 @@
|
|||||||
name: Build and publish
|
name: Build and publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- workflow_dispatch
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-and-publish:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@@ -10,14 +10,11 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-and-test:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x, 16.x, 18.x, 20.x]
|
node-version: [14.x, 16.x, 18.x, 20.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"name": "@doc-utils/color-themes",
|
"name": "@doc-utils/color-themes",
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://gitea.home.jbrumond.me/api/packages/doc-utils/npm/"
|
"registry": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
|
Reference in New Issue
Block a user