Skip to content

Commit b6b2e6e

Browse files
committed
chore: simplify scripts
1 parent 7055e3f commit b6b2e6e

File tree

3 files changed

+11
-25
lines changed

3 files changed

+11
-25
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,9 @@ on:
77

88
jobs:
99
release:
10-
runs-on: ubuntu-latest
10+
uses: sxzz/workflows/.github/workflows/release.yml@v1
11+
with:
12+
publish: true
1113
permissions:
1214
contents: write
1315
id-token: write
14-
15-
steps:
16-
- uses: actions/checkout@v5
17-
with:
18-
persist-credentials: false
19-
fetch-depth: 0
20-
21-
- uses: pnpm/action-setup@v4
22-
- name: Set node
23-
uses: actions/setup-node@v5
24-
with:
25-
node-version: lts/*
26-
cache: pnpm
27-
28-
- run: npx changelogithub
29-
continue-on-error: true
30-
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
33-
- run: pnpm install
34-
- run: npm i -g npm@latest && pnpm publish --no-git-checks

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

pnpm-workspace.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
packages:
22
- docs
33

4+
ignoreWorkspaceRootCheck: true
5+
shellEmulator: true
6+
47
catalog:
58
'@antfu/eslint-config': ^5.2.1
69
'@antfu/ni': ^25.0.0
@@ -52,9 +55,13 @@ catalogs:
5255
vitepress-plugin-group-icons: ^1.6.3
5356
vue: ^3.5.18
5457
vue-tsc: ^3.0.6
55-
5658
prod:
5759
'@jridgewell/remapping': ^2.3.5
5860
acorn: ^8.15.0
5961
picomatch: ^4.0.3
6062
webpack-virtual-modules: ^0.6.2
63+
64+
onlyBuiltDependencies:
65+
- core-js
66+
- esbuild
67+
- simple-git-hooks

0 commit comments

Comments
 (0)