[Release] Stage to Main #9979
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: Check code compatibility with Milo supported browsers | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check for unsupported functions | |
run: | | |
# Install eslint and its plugins | |
npm install | |
# Check for unsupported functions in the code | |
npx eslint --no-eslintrc -c .eslintrc-code-compatibility.js . |