Skip to content

Commit

Permalink
chore: run ci:test in release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen committed Jul 2, 2024
1 parent 09fbff0 commit 2e20fee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Install Dependencies
run: pnpm install --frozen-lockfile --ignore-scripts

- name: Unit test
run: pnpm ci:test

- name: Prep commit message
run: |
echo "NEW_VERSION=$(pnpm changeset status --output=release.json && jq -r '.releases[0].newVersion' release.json && rm release.json)" >> "$GITHUB_ENV"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"scripts": {
"build": "pnpm -F '@webav/*' run build",
"ci:test": "pnpm -F '@webav/*' run ci:test",
"publish:all": "pnpm publish -r",
"publish:all:next": "pnpm publish -r --tag next",
"build:api": "pnpm -F '@webav/*' run build:api",
Expand Down
1 change: 1 addition & 0 deletions packages/av-canvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"scripts": {
"dev": "vite demo --config demo/demo-vite.config.ts",
"test": "vitest --config test-vite.config.ts",
"ci:test": "vitest --config test-vite.config.ts run",
"test:coverage": "vitest run --coverage",
"build": "vite build && tsc -p build.tsconfig.json --outDir dist",
"build:api": "typedoc src/index.ts --tsconfig build.tsconfig.json --out ../../doc-site/public/_api/av-canvas",
Expand Down
1 change: 1 addition & 0 deletions packages/av-cliper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"scripts": {
"dev": "vite demo --config demo-vite.config.ts",
"test": "vitest --config test-vite.config.ts",
"ci:test": "vitest --config test-vite.config.ts run",
"test:coverage": "vitest run --coverage",
"build": "vite build && tsc -p build.tsconfig.json --outDir dist",
"build:dev": "vite build --watch --emptyOutDir false & tsc -p build.tsconfig.json --outDir dist --watch",
Expand Down

0 comments on commit 2e20fee

Please sign in to comment.