Skip to content

Commit 87365d2

Browse files
committed
use npm script instead of nps script for ci
1 parent fa124e2 commit 87365d2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pro-test-package-and-gem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
yarn install --frozen-lockfile --no-progress --no-emoji
241241
242242
- name: Run JS unit tests for Pro package
243-
run: yarn run nps test.ci
243+
run: yarn workspace react-on-rails-pro-node-renderer run ci
244244
env:
245245
JEST_JUNIT_OUTPUT_DIR: ./jest
246246
JEST_JUNIT_ADD_FILE_ATTRIBUTE: "true"

packages/react-on-rails-pro-node-renderer/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"build": "yarn run clean && yarn run tsc --project src/tsconfig.json",
7575
"build-watch": "yarn run clean && yarn run tsc --watch --project src/tsconfig.json",
7676
"clean": "rm -rf ./lib",
77+
"ci": "jest --ci --runInBand --reporters=default --reporters=jest-junit",
7778
"developing": "nps node-renderer.debug",
7879
"test": "jest tests",
7980
"type-check": "yarn run tsc --noEmit --noErrorTruncation --project src/tsconfig.json",

0 commit comments

Comments
 (0)