Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tlouisse committed Nov 19, 2024
1 parent d261a98 commit 9effbee
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 6 deletions.
39 changes: 33 additions & 6 deletions .github/workflows/guidepup.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,44 @@
name: SR automation

# on:
# push:
# branches:
# - master
on: push

jobs:
voiceover:
name: SR auto
name: auto VO
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- name: Setup Environment
uses: guidepup/setup-action
uses: guidepup/setup-action@main

- name: Setup Node 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install Dependencies
run: npm install --ci

- name: Run test
run: node guidepup.test.cjs

nvda:
name: auto NVDA
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Setup Environment
uses: guidepup/setup-action@main

- name: Setup Node 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install Dependencies
run: npm install --ci

- name: Run test
run: node guidepup.test.nvda.cjs
12 changes: 12 additions & 0 deletions guidepup.test copy.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const { voiceOver } = require('@guidepup/guidepup');

(async () => {
// Start VoiceOver.
await voiceOver.start();

// Move to the next item.
await voiceOver.next();

// Stop VoiceOver.
await voiceOver.stop();
})();

0 comments on commit 9effbee

Please sign in to comment.