File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # This job tests changes made in master branch against PRs.
2+
3+ name : Review changes from PRs
4+ run-name : ${{ github.actor }} has created/updated a PR
5+ on :
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ strategy :
12+ matrix :
13+ version : [ 14, 16, 18 ]
14+ os : [ macos-latest, windows-latest, ubuntu-latest ]
15+ runs-on : ${{ matrix.os }}
16+ name : CucumberJS repo ${{ matrix.version }} - ${{ matrix.os }} Sample
17+ env :
18+ BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
19+ BROWSERSTACK_ACCESS_KEY : ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
20+
21+ steps :
22+ - uses : actions/checkout@v3
23+ - uses : actions/setup-node@v3
24+ with :
25+ node-version : ${{ matrix.version }}
26+
27+ - name : Setup environment for testing
28+ run : npm install
29+
30+ - name : Run sample tests
31+ run : npm run sample-test
32+
33+ - name : Run local tests
34+ run : npm run sample-local-test
You can’t perform that action at this time.
0 commit comments