Skip to content

Commit 2df7014

Browse files
committed
build(ci): integrate changesets check into ci tasks
1 parent 4123bfb commit 2df7014

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
cache: pnpm
2727
registry-url: "https://registry.npmjs.org/"
2828

29-
- name: Install Dependencies
30-
run: pnpm ci:install
29+
- name: Exec all CI scripts (Install Dependencies, check changesets)
30+
run: pnpm ci:all
3131

3232
- name: Run build
3333
run: pnpm build

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
"build": "pnpm -r --filter=./packages/* build",
1616
"build:examples": "pnpm -r --filter=./examples/* build",
1717
"changeset:publish": "changeset publish",
18+
"changeset:status": "changeset status",
1819
"changeset:version": "changeset version",
1920
"check": "pnpm -r check",
21+
"ci:all": "run-s ci:install changeset:status",
2022
"ci:install": "pnpm install --frozen-lockfile --prefer-offline",
2123
"clean": "pnpm -r clean",
2224
"clear": "pnpm -r clear",

0 commit comments

Comments
 (0)