Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
with:
node-version: '18'
- name: install
run: npm install
run: corepack enable && pnpm install
- name: TypeScript
run: npx tsc --noEmit
run: pnpm exec tsc --noEmit
- name: ESLint
run: npm run eslint:check
run: pnpm run eslint:check
- name: Prettier
run: npm run prettier:check
run: pnpm run prettier:check
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ It describes the instructions below, as well as shows you how to edit a script.
3. Install the project dependencies:

```sh
npm install
corepack enable && pnpm install
```

4. Go to [your settings page][config] to find your API token; then run the following command:
Expand All @@ -96,13 +96,13 @@ You can now run the sample scripts targeting the Wikipedia app.
For instance, you can run the [iOS sample script](ios/test/onboarding.ts):

```shell
SHOW_SESSION=1 npm run ios -- --spec onboarding.ts
SHOW_SESSION=1 pnpm run ios -- --spec onboarding.ts
```

Similarly, you can run the [Android sample script](android/test/onboarding.ts):

```shell
SHOW_SESSION=1 npm run android -- --spec onboarding.ts
SHOW_SESSION=1 pnpm run android -- --spec onboarding.ts
```

## Exploring Waldo Scripting
Expand All @@ -123,10 +123,10 @@ To do so, you can use the [live execution mode][live-exec]:

```sh
# iOS https://app.waldo.com/applications/ios/sessions?versionId=wiki
SESSION_ID=[SessionID] npm run ios -- --spec onboarding.ts
SESSION_ID=[SessionID] pnpm run ios -- --spec onboarding.ts

# Android https://app.waldo.com/applications/android/sessions?versionId=wiki
SESSION_ID=[SessionID] npm run android -- --spec onboarding.ts
SESSION_ID=[SessionID] pnpm run android -- --spec onboarding.ts
```

[live-exec]: https://github.com/waldoapp/wdio-service/blob/main/Readme.md#live-execution
Expand Down
Loading