Skip to content

Commit 8d7ebec

Browse files
committed
fix: build
1 parent 2eb7bbc commit 8d7ebec

5 files changed

Lines changed: 176 additions & 348 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: [20.x]
17+
node-version: [22.x]
1818

1919
steps:
2020
- uses: actions/checkout@v4
2121
- uses: pnpm/action-setup@v4
2222
with:
23-
version: 9
23+
version: 10
2424
- name: Use Node.js ${{ matrix.node-version }}
2525
uses: actions/setup-node@v4
2626
with:

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [20.x]
13+
node-version: [22.x]
1414

1515
steps:
1616
- uses: actions/checkout@v4
1717
- uses: pnpm/action-setup@v4
1818
with:
19-
version: 9
19+
version: 10
2020
- name: Use Node.js ${{ matrix.node-version }}
2121
uses: actions/setup-node@v4
2222
with:
@@ -26,11 +26,11 @@ jobs:
2626
# Update version
2727
- name: Get version
2828
id: get_version
29-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
29+
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
3030
- name: Update version
3131
run: npm version --no-git-tag-version ${{ steps.get_version.outputs.VERSION }}
3232
- name: Build
33-
run: npm run prod
33+
run: npm run build
3434
- name: Test
3535
run: npm run test
3636
- run: npm publish

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"homepage": "https://unpkg.com/react-markdown-editor-lite@1.2.5-8/build/index.html",
4646
"devDependencies": {
4747
"@biomejs/biome": "2.1.3",
48-
"@rsbuild/core": "^1.5.0",
48+
"@rsbuild/core": "^1.7.2",
4949
"@rsbuild/plugin-less": "^1.5.0",
50-
"@rsbuild/plugin-react": "^1.3.5",
51-
"@rslib/core": "^0.12.2",
50+
"@rsbuild/plugin-react": "^1.4.2",
51+
"@rslib/core": "^0.19.1",
5252
"@testing-library/dom": "^10.4.1",
5353
"@testing-library/react": "^16.3.0",
5454
"@testing-library/user-event": "^14.6.1",

0 commit comments

Comments
 (0)