@patternfly/patternfly-doc-core 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,27 +36,4 @@ jobs:
|
|
|
36
36
|
- run: npm test
|
|
37
37
|
- run: npm run lint
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
runs-on: ubuntu-latest
|
|
41
|
-
needs: build
|
|
42
|
-
env:
|
|
43
|
-
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
|
|
44
|
-
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
|
|
45
|
-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
46
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
47
|
-
steps:
|
|
48
|
-
- uses: actions/checkout@v4
|
|
49
|
-
- name: Setup Node.js
|
|
50
|
-
uses: actions/setup-node@v4
|
|
51
|
-
with:
|
|
52
|
-
node-version: 22.x
|
|
53
|
-
- name: Install Dependencies
|
|
54
|
-
run: npm ci
|
|
55
|
-
- name: Build dist
|
|
56
|
-
run: npm run build
|
|
57
|
-
- name: Build CLI
|
|
58
|
-
run: npm run build:cli
|
|
59
|
-
- name: Release to NPM
|
|
60
|
-
env:
|
|
61
|
-
DEBUG: semantic-release:*
|
|
62
|
-
run: npx semantic-release@19.0.5 --branches main
|
|
39
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Release
|
|
5
|
+
env:
|
|
6
|
+
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
|
|
7
|
+
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
|
|
8
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
9
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches:
|
|
13
|
+
- main
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
deploy:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
- uses: actions/setup-node@v4
|
|
21
|
+
with:
|
|
22
|
+
node-version: 20
|
|
23
|
+
- name: Npm Install
|
|
24
|
+
run: npm install
|
|
25
|
+
- name: Build dist
|
|
26
|
+
run: npm run build
|
|
27
|
+
- name: Build CLI
|
|
28
|
+
run: npm run build:cli
|
|
29
|
+
- name: Release to NPM
|
|
30
|
+
env:
|
|
31
|
+
DEBUG: semantic-release:*
|
|
32
|
+
run: npx semantic-release@19.0.5 --branches main
|
|
33
|
+
#
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/patternfly-doc-core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.11",
|
|
5
5
|
"description": "PatternFly Core Documentation",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -94,5 +94,6 @@
|
|
|
94
94
|
"commitizen": {
|
|
95
95
|
"path": "./node_modules/cz-conventional-changelog"
|
|
96
96
|
}
|
|
97
|
-
}
|
|
97
|
+
},
|
|
98
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
98
99
|
}
|