Skip to content

Commit

Permalink
refactor: npm run -w is not the same as pnpm run -w
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Jul 3, 2024
1 parent d74a8b1 commit 8ae7eb4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
expo-token: ${{ secrets.EXPO_TOKEN }}

- name: 👷 Build packages for mobile
run: npm run -w build:mobile
run: npm run build:mobile

# You can remove this step if you already configured this
# This project shouldn't be pre-configured with this ID, that's why its omitted
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
expo-token: ${{ secrets.EXPO_TOKEN }}

- name: 👷 Build packages
run: npm run -w build:mobile
run: npm run build:mobile

# You can remove this step if you already configured this
# This project shouldn't be pre-configured with this ID, that's why its omitted
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
uses: ./.github/actions/setup-monorepo

- name: ✅ Lint packages
run: npm run -w lint
run: npm run lint

- name: 👷 Build packages
run: npm run -w build
run: npm run build

- name: 🧪 Test packages
run: npm run -w test
run: npm run test
2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"eas-build-post-install": "npm run -w build:mobile"
"eas-build-post-install": "cd ../.. && npm run build:mobile"
},
"dependencies": {
"@acme/feature-home": "1.0.0",
Expand Down

0 comments on commit 8ae7eb4

Please sign in to comment.