Skip to content

Commit e9d09be

Browse files
committed
fix: ci
1 parent a72bb46 commit e9d09be

File tree

3 files changed

+36
-31
lines changed

3 files changed

+36
-31
lines changed

.changeset/pretty-insects-raise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"loro-codemirror": patch
3+
---
4+
5+
fix: build in ci

.github/workflows/release.yaml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
name: Release
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
push:
5+
branches:
6+
- main
77

88
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

1010
jobs:
11-
release:
12-
name: Release
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: Checkout Repo
16-
uses: actions/checkout@v3
11+
release:
12+
name: Release
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@v3
1717

18-
- uses: pnpm/action-setup@v4
19-
with:
20-
version: 8
18+
- uses: pnpm/action-setup@v4
19+
with:
20+
version: 8
2121

22-
- name: Setup Node.js 20.x
23-
uses: actions/setup-node@v3
24-
with:
25-
node-version: 20.x
22+
- name: Setup Node.js 20.x
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: 20.x
2626

27-
- name: Install Dependencies
28-
run: npm install
27+
- name: Install Dependencies
28+
run: pnpm install && pnpm build
2929

30-
- name: Create Release Pull Request or Publish to npm
31-
id: changesets
32-
uses: changesets/action@v1
33-
with:
34-
publish: npx changeset publish
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
- name: Create Release Pull Request or Publish to npm
31+
id: changesets
32+
uses: changesets/action@v1
33+
with:
34+
publish: npx changeset publish
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)