try adding GitHub Actions tests #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| pull_request: | |
| permissions: {} | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Install Chrome | |
| uses: browser-actions/setup-chrome@v2 | |
| - name: Test top level | |
| run: | | |
| yarn install | |
| yarn presubmit | |
| - name: Top packages | |
| run: | | |
| for package in "face-detection"; do | |
| pushd "$package" | |
| yarn install | |
| yarn test | |
| popd | |
| done |