Skip to content

Commit 746fb2c

Browse files
committed
version and deploy workflow
1 parent 24a8533 commit 746fb2c

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/deploy-github-pages.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
# Set up Node
2424
- uses: actions/setup-node@v4
2525
with:
26-
node-version: '^18.0.0'
26+
node-version: '20'
27+
28+
# Enable Corepack for Yarn 4
29+
- name: Enable Corepack
30+
run: corepack enable
2731

2832
#👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow
2933
- uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commit-graph",
3-
"version": "2.3.12",
3+
"version": "2.4.0",
44
"homepage": "https://liuliu-dev.github.io/CommitGraph/",
55
"author": "Liu Liu <liuliu.developer@gmail.com>",
66
"description": "A React component to visualize a commit graph.",
@@ -100,6 +100,13 @@
100100
"resolutions": {
101101
"serialize-javascript": "^7.0.3"
102102
},
103+
"files": [
104+
"dist",
105+
"index.d.ts",
106+
"README.md",
107+
"LICENSE",
108+
"CHANGELOG.md"
109+
],
103110
"main": "dist/cjs/index.js",
104111
"module": "dist/esm/index.js",
105112
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)