Skip to content

Commit 2236951

Browse files
chore: use npm script in ci
1 parent 5ff622f commit 2236951

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/accuracy-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install dependencies
3737
run: npm ci
3838
- name: Run accuracy tests
39-
run: ./scripts/run-accuracy-tests.sh
39+
run: npm run test:accuracy
4040
- name: Upload accuracy test summary
4141
if: always()
4242
uses: actions/upload-artifact@v4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"reformat": "prettier --write .",
3131
"generate": "./scripts/generate.sh",
3232
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --testPathIgnorePatterns=/tests/accuracy/",
33-
"pre:test:accuracy": "npm run build:compile",
33+
"pretest:accuracy": "npm run build:compile",
3434
"test:accuracy": "sh ./scripts/accuracy/run-accuracy-tests.sh"
3535
},
3636
"license": "Apache-2.0",

0 commit comments

Comments
 (0)