Bump follow-redirects in /streamlit_webrtc/frontend (#1472) #1852
This file contains 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: Frontend tests | |
on: | |
push: | |
branches: | |
- main | |
- develop/** | |
paths: | |
- 'streamlit_webrtc/frontend/**' | |
pull_request: | |
branches: | |
- main | |
- develop/** | |
paths: | |
- 'streamlit_webrtc/frontend/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: streamlit_webrtc/frontend | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: 'npm' | |
cache-dependency-path: streamlit_webrtc/frontend/package-lock.json | |
- run: npm ci | |
- name: Lint | |
run: | | |
npm run check:eslint | |
npm run check:prettier | |
- run: npm run build --if-present | |
- run: npm test |