diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c92530c5..57886bc0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,12 +24,13 @@ jobs: cache: yarn - run: yarn install --immutable - run: yarn build - - run: yarn build:pkg - name: Test env: GIT_AUTHOR_NAME: 'Simple Git Tests' GIT_AUTHOR_EMAIL: 'tests@simple-git.dev' run: yarn test + - run: yarn build:pkg + - run: yarn test:consumer build-windows: runs-on: windows-latest diff --git a/package.json b/package.json index befd59eb..26da7046 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "lint": "biome check", "lint:fix": "biome check --write", "test": "yarn workspaces foreach -A run test", + "test:consumer": "yarn workspaces foreach -A run test:consumer", "test:win": "yarn workspaces foreach -A run test:win" }, "dependencies": { diff --git a/packages/test-es-module-consumer/package.json b/packages/test-es-module-consumer/package.json index 4b7a34bb..c7a7c596 100644 --- a/packages/test-es-module-consumer/package.json +++ b/packages/test-es-module-consumer/package.json @@ -4,7 +4,7 @@ "version": "1.0.1", "type": "module", "scripts": { - "test": "node test.mjs" + "test:consumer": "node test.mjs" }, "dependencies": { "simple-git": "*" diff --git a/packages/test-javascript-consumer/package.json b/packages/test-javascript-consumer/package.json index 3d7fa262..907f2a33 100644 --- a/packages/test-javascript-consumer/package.json +++ b/packages/test-javascript-consumer/package.json @@ -3,7 +3,7 @@ "private": true, "version": "1.0.1", "scripts": { - "test": "node test.js && node test-default.js" + "test:consumer": "node test.js && node test-default.js" }, "dependencies": { "simple-git": "*" diff --git a/packages/test-typescript-consumer/package.json b/packages/test-typescript-consumer/package.json index 02f51b5e..999294dd 100644 --- a/packages/test-typescript-consumer/package.json +++ b/packages/test-typescript-consumer/package.json @@ -11,7 +11,7 @@ ] }, "scripts": { - "test": "yarn test:types && yarn test:jest", + "test:consumer": "yarn test:types && yarn test:jest", "test:types": "tsc", "test:jest": "jest" }, diff --git a/packages/test-typescript-esm-consumer/package.json b/packages/test-typescript-esm-consumer/package.json index d10c9686..46ccc540 100644 --- a/packages/test-typescript-esm-consumer/package.json +++ b/packages/test-typescript-esm-consumer/package.json @@ -11,7 +11,7 @@ ] }, "scripts": { - "test": "jest" + "test:consumer": "jest" }, "dependencies": { "@simple-git/babel-config": "*", diff --git a/yarn.lock b/yarn.lock index b6d85e3a..358be502 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3522,12 +3522,12 @@ __metadata: linkType: hard "brace-expansion@npm:^1.1.7": - version: 1.1.13 - resolution: "brace-expansion@npm:1.1.13" + version: 1.1.14 + resolution: "brace-expansion@npm:1.1.14" dependencies: balanced-match: "npm:^1.0.0" concat-map: "npm:0.0.1" - checksum: 10/b5f4329fdbe9d2e25fa250c8f866ebd054ba946179426e99b86dcccddabdb1d481f0e40ee5430032e62a7d0a6c2837605ace6783d015aa1d65d85ca72154d936 + checksum: 10/2de747a5891ea0d3a1946ea1ae26e056a47f7ea8d42a3009e1736ec3a31a5aa69a3c5da59d998426773553afe4c258e5b12d7953b534fa7f2cf12ce92eed4931 languageName: node linkType: hard