fix: can register event listener more than once #1057
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: Run ESLint | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run-eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ">=18.16.0" | |
check-latest: true | |
cache: yarn | |
- name: Install dependencies | |
run: | | |
git config --global url."https://github.com/".insteadOf ssh://git@github.com/ | |
yarn install --frozen-lockfile | |
- name: Run ESLint | |
run: | | |
yarn run lint |