Skip to content

fix: not having an mqtt server running will no longer break the runtime #85

fix: not having an mqtt server running will no longer break the runtime

fix: not having an mqtt server running will no longer break the runtime #85

Workflow file for this run

name: CI
on: push
permissions:
packages: write
pull-requests: write
contents: write
issues: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v4.0.1
with:
node-version: 18
cache: pnpm
- name: Install pnpm dependencies
run: pnpm install
- name: Setup Python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.9'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install platformio
# TODO: run linter?
- name: Build
env:
WIFI_SSID: "CHOCOLATE"
WIFI_PASSWORD: "CHOCOLATE"
run: pio run
# TODO: run tests
- name: Semantic Release
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release