Skip to content

Commit c955312

Browse files
committed
chore: update deps
1 parent 3237a70 commit c955312

File tree

3 files changed

+67
-3
lines changed

3 files changed

+67
-3
lines changed

.github/workflows/emoji-helper.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Emoji Helper
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
emoji:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions-cool/[email protected]
12+
with:
13+
type: 'release'
14+
emoji: '+1, laugh, heart, hooray, rocket, eyes'

.github/workflows/release.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Release
2+
3+
env:
4+
NODE_OPTIONS: --max-old-space-size=6144
5+
6+
on:
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-and-release:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: 'Checkout'
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: 'Setup Node.js'
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
23+
- name: Cache pnpm modules
24+
uses: actions/cache@v4
25+
with:
26+
path: ~/.pnpm-store
27+
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
28+
restore-keys: |
29+
${{ runner.os }}-
30+
31+
- name: Pnpm action
32+
uses: pnpm/action-setup@v2
33+
with:
34+
version: latest
35+
run_install: true
36+
37+
- name: Build
38+
run: pnpm build
39+
40+
- name: Release
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
43+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
44+
run: npx semantic-release

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,19 @@
3737
},
3838
"dependencies": {
3939
"@pansy/scrollbar-width": "^1.0.0",
40-
"@pansy/shared": "^1.14.0",
40+
"@pansy/shared": "^1.16.1",
4141
"@types/lodash-es": "^4.17.9",
4242
"lodash-es": "^4.17.21",
4343
"throttle-debounce": "^5.0.0"
4444
},
4545
"devDependencies": {
46-
"@commitlint/cli": "^17.8.0",
47-
"@commitlint/config-conventional": "^17.8.0",
46+
"@commitlint/cli": "^18.4.4",
47+
"@commitlint/config-conventional": "^18.4.4",
48+
"@semantic-release/changelog": "^6.0.3",
49+
"@semantic-release/git": "^10.0.1",
50+
"@semantic-release/github": "^9.2.6",
51+
"@semantic-release/npm": "^11.0.2",
52+
"@semantic-release/release-notes-generator": "^12.1.0",
4853
"@testing-library/jest-dom": "^6.1.4",
4954
"@testing-library/react": "^14.0.0",
5055
"@types/jest": "^29.5.6",
@@ -59,6 +64,7 @@
5964
"is-ci": "^3.0.1",
6065
"jest": "^29.7.0",
6166
"jest-environment-jsdom": "^29.7.0",
67+
"semantic-release": "^23.0.0",
6268
"lint-staged": "^15.0.1",
6369
"prettier": "^3.0.3",
6470
"react": "^18.2.0",

0 commit comments

Comments
 (0)