File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 14
14
15
15
name : Test Auth
16
16
17
- on : pull_request
17
+ on : push
18
18
19
19
env :
20
20
# make chromedriver detect installed Chrome version and download the corresponding driver
99
99
- name : build
100
100
run : yarn build:changed auth
101
101
- name : Run tests on auth changed packages
102
- run : xvfb-run yarn test:changed auth
102
+ run : yarn test:changed auth
103
103
env :
104
104
BROWSERS : ' Firefox'
105
+
106
+ test-safari :
107
+ name : Test Auth on Safari if changed
108
+ runs-on : macos-latest
109
+ steps :
110
+ - uses : actions/checkout@v4
111
+ with :
112
+ fetch-depth : 0
113
+ - uses : actions/setup-node@v3
114
+ with :
115
+ node-version : 20.x
116
+ - name : yarn install and build
117
+ run : |
118
+ cp config/ci.config.json config/project.json
119
+ yarn
120
+ - name : build
121
+ run : yarn build:changed auth
122
+ - name : Run browser tests
123
+ # Since we're testing on Safari, we only need to run the browser tests
124
+ run : |
125
+ yarn test:changed auth
126
+ env :
127
+ BROWSERS : ' Safari'
You can’t perform that action at this time.
0 commit comments