Skip to content

Commit 6232df4

Browse files
committed
Bump to v1.1.17
1 parent 7563ee1 commit 6232df4

File tree

4 files changed

+1966
-2041
lines changed

4 files changed

+1966
-2041
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
11
name: Semantic release
22

3-
on: push
3+
on:
4+
push:
5+
branches: [main]
6+
7+
env:
8+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
9+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
10+
411
jobs:
512
publish:
613
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
node-version: [16.x, 18.x]
18+
719
steps:
8-
- uses: actions/checkout@v2
9-
- name: Setup Node.js
10-
uses: actions/setup-node@v1
20+
- uses: actions/checkout@v3
21+
- name: Setup Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v3
1123
with:
12-
node-version: 16
24+
node-version: ${{ matrix.node-version }}
25+
cache: "npm"
1326
- name: Install and Build
1427
run: | # Install npm packages and build the src files
1528
npm install --force
16-
npm run build
29+
npm run build --if-present
1730
- name: Semantic release
18-
env:
19-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
20-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2131
run: npx semantic-release

.github/workflows/storybook.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
name: Build and Deploy
2-
on:
2+
on:
33
push:
44
paths: ["src/**"] # Trigger the action only when files change in the folders defined here
55
jobs:
66
build-and-deploy:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout 🛎️
10-
uses: actions/checkout@v2.3.1
10+
uses: actions/checkout@v3
1111
with:
1212
persist-credentials: false
1313
- name: Install and Build 🔧
1414
run: | # Install npm packages and build the Storybook files
1515
npm install --force
1616
npm run build-storybook
1717
- name: Deploy 🚀
18-
uses: JamesIves/github-pages-deploy-action@3.6.2
18+
uses: JamesIves/github-pages-deploy-action@v4
1919
with:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
BRANCH: docs # The branch the action should deploy to.
2222
FOLDER: docs-build # The folder that the build-storybook script generates files.
2323
CLEAN: true # Automatically remove deleted files from the deploy branch
24-
TARGET_FOLDER: docs # The folder that we serve our Storybook files from
24+
TARGET_FOLDER: docs # The folder that we serve our Storybook files from

package.json

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-usage-bar",
3-
"version": "1.1.16",
3+
"version": "1.1.17",
44
"description": "Usage bar, graphic component for React",
55
"main": "build/index.js",
66
"typings": "build/index.d.ts",
@@ -32,26 +32,26 @@
3232
"homepage": "http://ChrisUser.github.io/react-usage-bar",
3333
"license": "MIT",
3434
"devDependencies": {
35-
"@babel/core": "^7.18.2",
36-
"@storybook/addon-a11y": "^6.5.8",
37-
"@storybook/addon-docs": "^6.5.8",
38-
"@storybook/addon-viewport": "^6.5.8",
39-
"@storybook/react": "^6.5.8",
35+
"@babel/core": "^7.18.10",
36+
"@storybook/addon-a11y": "^6.5.9",
37+
"@storybook/addon-docs": "^6.5.9",
38+
"@storybook/addon-viewport": "^6.5.9",
39+
"@storybook/react": "^6.5.9",
4040
"@testing-library/jest-dom": "^5.16.4",
4141
"@testing-library/react": "^13.3.0",
42-
"@types/jest": "^28.1.1",
43-
"@types/react": "^18.0.12",
44-
"@types/react-dom": "^18.0.5",
42+
"@types/jest": "^28.1.6",
43+
"@types/react": "^18.0.15",
44+
"@types/react-dom": "^18.0.6",
4545
"awesome-typescript-loader": "^5.2.1",
4646
"babel-loader": "^8.2.5",
47-
"esbuild": "^0.14.43",
48-
"jest": "^28.1.1",
47+
"esbuild": "^0.14.51",
48+
"jest": "^28.1.3",
4949
"postcss": "^8.4.14",
5050
"prettier-standard": "^16.3.0",
51-
"react": "^18.1.0",
51+
"react": "^18.2.0",
5252
"react-docgen-typescript-loader": "^3.7.2",
53-
"react-dom": "^18.1.0",
54-
"rollup": "^2.75.6",
53+
"react-dom": "^18.2.0",
54+
"rollup": "^2.77.2",
5555
"rollup-plugin-commonjs": "^10.1.0",
5656
"rollup-plugin-dts": "^4.2.2",
5757
"rollup-plugin-esbuild": "^4.9.1",
@@ -63,16 +63,17 @@
6363
"semantic-release": "^19.0.3",
6464
"standard": "^17.0.0",
6565
"standard-prettier": "^1.0.1",
66-
"ts-jest": "^28.0.4",
67-
"ts-loader": "^9.3.0",
68-
"typescript": "^4.7.3"
66+
"ts-jest": "^28.0.7",
67+
"ts-loader": "^9.3.1",
68+
"typescript": "^4.7.4"
6969
},
7070
"peerDependencies": {
7171
"react": "^17",
7272
"react-dom": "^17"
7373
},
7474
"resolutions": {
75-
"minimist": "1.2.6"
75+
"minimist": "1.2.6",
76+
"glob-parent": "6.0.1"
7677
},
7778
"plugins": [
7879
"@semantic-release/commit-analyzer",
@@ -102,5 +103,8 @@
102103
"afterAll",
103104
"jest"
104105
]
106+
},
107+
"dependencies": {
108+
"glob-parent": "6.0.2"
105109
}
106110
}

0 commit comments

Comments
 (0)