Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

feat(climate): enable basic support for climate devices (#47) #278

feat(climate): enable basic support for climate devices (#47)

feat(climate): enable basic support for climate devices (#47) #278

name: Pull Request Build
on:
pull_request:
env:
CI: 'true'
NODE_VERSION: '20.x'
jobs:
build:
name: πŸ› οΈ Build
runs-on: ubuntu-latest
steps:
- name: ‡️ Checkout
uses: actions/checkout@v4
# caching
- name: πŸ— Set up nx cache
uses: actions/[email protected]
with:
path: .nx
key: ${{ runner.os }}-nx-cache
# setup
- name: πŸ— Set up Node
uses: actions/setup-node@v4
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'npm'
- name: πŸ— Set up QEMU
uses: docker/[email protected]
- name: πŸ— Set up Docker Buildx
uses: docker/[email protected]
# build
- name: πŸš› Install dependencies
run: npm ci
- name: ✏️ Lint
run: |
npm run lint
npm run prettier
- name: πŸ”Ž Test
run: npm test
- name: πŸ› οΈ Build
run: npm run build