Skip to content

Commit efc3397

Browse files
authored
chore: add support for running tests in CI
1 parent f3d44ab commit efc3397

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Workflow for running automated tests.
2+
3+
name: WebdriverIO Tests
4+
5+
on:
6+
workflow_dispatch:
7+
pull_request:
8+
push:
9+
branches:
10+
- main
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
timeout-minutes: 10
18+
runs-on: ${{ matrix.os }}
19+
20+
strategy:
21+
matrix:
22+
os: [ubuntu-latest, macos-latest]
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- name: Use Node.js 20.x
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: 20.x
31+
32+
- name: Npm Install
33+
run: npm install
34+
35+
- name: Run Tests
36+
run: npm run test

0 commit comments

Comments
 (0)