chore: upgrade puppeteer, only download chrome in browser test action, turn on yarn cache #352
Workflow file for this run
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: Browser Test | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| jobs: | |
| browser: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: ./.github/actions/setup-node | |
| - name: Install Chrome | |
| run: npx puppeteer browsers install chrome | |
| shell: bash | |
| - name: Test | |
| env: | |
| STREAM_APP_ID: ${{ secrets.STREAM_APP_ID }} | |
| STREAM_API_KEY: ${{ secrets.STREAM_API_KEY }} | |
| STREAM_API_SECRET: ${{ secrets.STREAM_API_SECRET }} | |
| run: yarn run test-browser |