File tree 1 file changed +67
-0
lines changed
1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Browserstack
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - swarm-1-13
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+ environment : browserstack
13
+ env :
14
+ BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
15
+ BROWSERSTACK_ACCESS_KEY : ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
16
+ NODE_VERSION : 20.x
17
+ name : ${{ matrix.BROWSER }}
18
+ concurrency :
19
+ group : ${{ github.sha }}-${{ matrix.BROWSER }}
20
+ timeout-minutes : 30
21
+ strategy :
22
+ fail-fast : false
23
+ matrix :
24
+ BROWSER :
25
+ - ' IE_11'
26
+ # - 'Safari_latest'
27
+ # - 'Safari_latest-1'
28
+ # - 'Chrome_latest'
29
+ # - 'Chrome_latest-1'
30
+ # - 'Opera_latest'
31
+ # - 'Edge_latest'
32
+ # - 'Edge_latest-1'
33
+ # - 'Firefox_latest'
34
+ # - 'Firefox_latest-1'
35
+ # - 'Firefox_115'
36
+ # - '__iOS_17'
37
+ # - '__iOS_16'
38
+ # - '__iOS_15'
39
+ steps :
40
+ - name : Checkout
41
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
42
+
43
+ - name : Use Node.js ${{ env.NODE_VERSION }}
44
+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
45
+ with :
46
+ node-version : ${{ env.NODE_VERSION }}
47
+
48
+ - name : Cache
49
+ uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
50
+ with :
51
+ path : ~/.npm
52
+ key : ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
53
+ restore-keys : |
54
+ ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-
55
+
56
+ - name : Install dependencies
57
+ run : npm install
58
+
59
+ - name : Build jQuery UI
60
+ run : npm run build
61
+
62
+ - name : Run tests
63
+ run : |
64
+ npm run test:unit -- -v \
65
+ --browserstack "${{ matrix.BROWSER }}" \
66
+ --run-id ${{ github.run_id }} \
67
+ --retries 3 --hard-retries 1
You can’t perform that action at this time.
0 commit comments