Skip to content

Commit 23c81c0

Browse files
committed
Add job to test auth on Safari
1 parent 849be6a commit 23c81c0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test-changed-auth.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,29 @@ jobs:
102102
run: xvfb-run yarn test:changed auth
103103
env:
104104
BROWSERS: 'Firefox'
105+
106+
test-safari:
107+
name: Test Auth on Safari If Changed
108+
runs-on: macos-latest
109+
110+
steps:
111+
- name: Checkout Repo
112+
uses: actions/checkout@v4
113+
with:
114+
# This makes Actions fetch all Git history so run-changed script can diff properly.
115+
fetch-depth: 0
116+
- name: Set up Node (20)
117+
uses: actions/setup-node@v3
118+
with:
119+
node-version: 20.x
120+
- name: Test setup and yarn install
121+
run: |
122+
cp config/ci.config.json config/project.json
123+
yarn
124+
- name: build
125+
run: yarn build:changed auth
126+
- name: Run tests on auth changed packages
127+
run: xvfb-run yarn test:changed auth
128+
env:
129+
BROWSERS: 'Safari'
130+

0 commit comments

Comments
 (0)