Skip to content

Commit 7c28b98

Browse files
committed
try adding GitHub Actions tests
1 parent 4cbead3 commit 7c28b98

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions: {}
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 24
20+
- name: Install Chrome
21+
uses: browser-actions/setup-chrome@v2
22+
- name: Test top level
23+
run: |
24+
yarn install
25+
yarn presubmit
26+
- name: Top packages
27+
run: |
28+
for package in "face-detection"; do
29+
pushd "$package"
30+
yarn install
31+
yarn test
32+
popd
33+
done

0 commit comments

Comments
 (0)