Skip to content

Commit d6b715e

Browse files
committed
chore: simplify scripts
1 parent 56c2a8e commit d6b715e

3 files changed

Lines changed: 6 additions & 31 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +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:
12-
id-token: write
1314
contents: write
14-
steps:
15-
- uses: actions/checkout@v5
16-
with:
17-
fetch-depth: 0
18-
persist-credentials: false
19-
20-
- name: Install pnpm
21-
uses: pnpm/action-setup@v4.1.0
22-
23-
- uses: actions/setup-node@v4
24-
with:
25-
cache: pnpm
26-
node-version: lts/*
27-
registry-url: https://registry.npmjs.org/
28-
29-
- run: pnpx changelogithub
30-
continue-on-error: true
31-
env:
32-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
33-
34-
- name: Install dependencies
35-
run: pnpm install
36-
37-
- name: Update npm
38-
run: npm install -g npm@latest
39-
40-
- name: Publish to NPM
41-
run: pnpm publish --no-git-checks
15+
id-token: write

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ packages:
44
onlyBuiltDependencies:
55
- esbuild
66
- sharp
7+
8+
ignoreWorkspaceRootCheck: true

0 commit comments

Comments
 (0)