Skip to content

Bump postcss from 8.4.49 to 8.5.1 in /frontend #142

Bump postcss from 8.4.49 to 8.5.1 in /frontend

Bump postcss from 8.4.49 to 8.5.1 in /frontend #142

name: Build PlatformIO project
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
environment: [d1_mini, nodemcuv2, thorrax]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Install dependencies for frontend
run: |
sudo apt-get update && sudo apt-get install --yes --no-install-recommends \
npm \
ruby-dev \
xxd
npm install frontend/
command -v grunt > /dev/null || npm install --global grunt-cli
sudo gem install sass
- name: Build frontend
working-directory: frontend
run: |
grunt i18n -v
./output.sh
- name: Build ${{ matrix.environment }}
run: pio run -e ${{ matrix.environment }}
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.environment }}.bin
path: .pio/build/${{ matrix.environment }}/firmware.bin