Add/remove smart devices based on connected server #1226
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
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
name: Lint - Node ${{ matrix.node }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 20, 22 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
- name: Enforce resolutions | |
run: npx npm-force-resolutions | |
- name: Install dependencies | |
run: npm install | |
- name: Type check (TypeScript) | |
run: npm test | |
- name: Run ESLint | |
run: npx eslint . --ext .ts |