feat: add support for fans and air fresheners #152
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: Build, lint, and test | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '.github/**' | |
- '.husky/**' | |
- '.vscode/**' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# the Node.js versions to build on | |
node-version: [16.x, 18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Lint the project | |
run: npm run lint | |
- name: Format the project | |
run: npm run format | |
- name: Build the project | |
run: npm run build | |
env: | |
CI: true | |
- name: Test the project | |
run: npm run test-ci |