Skip to content

Commit c363ea4

Browse files
authored
feat(browserstack): add to github action
1 parent 923f445 commit c363ea4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 'BrowserStack Test'
2+
on: [push, pull_request]
3+
4+
jobs:
5+
ubuntu-job:
6+
name: 'BrowserStack Test on Ubuntu'
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: 'BrowserStack Env Setup'
10+
uses: 'browserstack/github-actions/setup-env@master'
11+
with:
12+
username: ${{ secrets.BROWSERSTACK_USERNAME }}
13+
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
14+
build-name: BUILD_INFO
15+
project-name: REPO_NAME
16+
- name: 'BrowserStackLocal Setup'
17+
uses: 'browserstack/github-actions/setup-local@master'
18+
with:
19+
local-testing: start
20+
local-identifier: random

0 commit comments

Comments
 (0)