diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 08402a3..082f607 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -22,6 +22,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: ./.github/actions/pnpm + - run: pnpm build - name: Lint run: pnpm lint - name: Run Tests @@ -34,6 +35,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: ./.github/actions/pnpm + - run: pnpm build - run: tsc --noEmit working-directory: tests @@ -44,6 +46,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: ./.github/actions/pnpm + - run: pnpm build - name: auto-dist-tag run: npx auto-dist-tag@1 --write diff --git a/ember-string/package.json b/ember-string/package.json index 1e49eaf..7b22814 100644 --- a/ember-string/package.json +++ b/ember-string/package.json @@ -24,8 +24,8 @@ "lint:js": "eslint . --cache", "lint:js:fix": "eslint . --fix", "test": "vitest -c ./tests/vitest.config.ts", - "prepare": "yarn run build", - "prepublishOnly": "yarn run build" + "prepare": "pnpm build", + "prepublishOnly": "pnpm build" }, "dependencies": { "@embroider/addon-shim": "1.8.3" diff --git a/package.json b/package.json index 3660b42..44eec57 100644 --- a/package.json +++ b/package.json @@ -8,17 +8,17 @@ "license": "MIT", "author": "", "scripts": { - "prepare": "yarn build", - "build": "yarn workspace @ember/string run build", + "prepare": "pnpm build", + "build": "pnpm --filter @ember/string build", "start": "concurrently 'npm:start:*' --restart-after 5000 --prefix-colors cyan,white,yellow", - "start:addon": "yarn workspace @ember/string run start", - "start:test": "yarn workspace test-app run start", + "start:addon": "pnpm --filter @ember/string start", + "start:test": "pnpm --filter test-app start", - "lint": "yarn workspaces run lint", - "lint:fix": "yarn workspaces run lint:fix", + "lint": "pnpm --filter '*' lint", + "lint:fix": "pnpm --filter '*' lint:fix", - "test": "yarn workspaces run test" + "test": "pnpm --filter '*' test" }, "volta": { "node": "18.4.0",