@dexma/ui-components 5.12.2 → 5.13.0
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.
- package/.github/workflows/cd.yml +35 -0
- package/.github/workflows/ci.yml +45 -0
- package/CHANGELOG.md +12 -0
- package/dist/main.bundle.js +1 -1
- package/dist/main.bundle.js.map +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Build and Deploy
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- master
|
|
6
|
+
paths:
|
|
7
|
+
- '**/assets/**'
|
|
8
|
+
- '**/stories/**'
|
|
9
|
+
- '**/components/**'
|
|
10
|
+
- '**/styles/**'
|
|
11
|
+
jobs:
|
|
12
|
+
build-and-deploy:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
permissions:
|
|
15
|
+
actions: write
|
|
16
|
+
contents: write
|
|
17
|
+
deployments: write
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout 🛎️
|
|
20
|
+
uses: actions/checkout@v3
|
|
21
|
+
|
|
22
|
+
- name: Use Node.js v16.18.0
|
|
23
|
+
uses: actions/setup-node@v2
|
|
24
|
+
with:
|
|
25
|
+
node-version: '16.18.0'
|
|
26
|
+
|
|
27
|
+
- name: Install and Build 🔧
|
|
28
|
+
run: | # Install npm packages and build the Storybook files
|
|
29
|
+
npm install
|
|
30
|
+
npm run build-storybook
|
|
31
|
+
|
|
32
|
+
- name: Deploy 🚀
|
|
33
|
+
uses: JamesIves/github-pages-deploy-action@v4
|
|
34
|
+
with:
|
|
35
|
+
folder: docs # The folder the action should deploy.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
env:
|
|
12
|
+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
13
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
build:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
permissions:
|
|
20
|
+
actions: write
|
|
21
|
+
contents: write
|
|
22
|
+
deployments: write
|
|
23
|
+
|
|
24
|
+
steps:
|
|
25
|
+
- name: Checkout code
|
|
26
|
+
uses: actions/checkout@v3
|
|
27
|
+
|
|
28
|
+
- name: Use Node.js v16.18.0
|
|
29
|
+
uses: actions/setup-node@v2
|
|
30
|
+
with:
|
|
31
|
+
node-version: '16.18.0'
|
|
32
|
+
|
|
33
|
+
- name: Install dependencies 🛠️
|
|
34
|
+
run: npm install
|
|
35
|
+
|
|
36
|
+
- name: Run tests 📝
|
|
37
|
+
run: npm run test
|
|
38
|
+
|
|
39
|
+
- name: Build project ⚙️
|
|
40
|
+
run: npm run build
|
|
41
|
+
|
|
42
|
+
- name: Publish to NPM 📦
|
|
43
|
+
run: npx semantic-release
|
|
44
|
+
env:
|
|
45
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [5.13.0](https://github.com/dexma/ui-components/compare/v5.12.2...v5.13.0) (2023-04-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **styles:** changes to trigger cd job ([a716f45](https://github.com/dexma/ui-components/commit/a716f45fe994acdfb6490f1f0933232239b40b5c))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **cicd:** add yml files for Github Actions ([e03f619](https://github.com/dexma/ui-components/commit/e03f6194d6ebab69fd4d9cadef2e843f700569db))
|
|
12
|
+
|
|
1
13
|
## [5.12.2](https://github.com/dexma/ui-components/compare/v5.12.1...v5.12.2) (2023-02-15)
|
|
2
14
|
|
|
3
15
|
|