fix: add source === undefined checks to prevent type errors #21
Workflow file for this run
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 code checks | |
on: | |
pull_request: | |
push: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v4 | |
with: { node-version: 21 } | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install packages | |
run: yarn install | |
- name: Run checks | |
run: yarn lint |