Skip to content

Commit

Permalink
Add jobs to install dependencies and build frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
havardAasen committed Jun 24, 2024
1 parent 75c8fca commit 256cdf2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build-platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,23 @@ jobs:
- 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 htmljs/
command -v grunt > /dev/null || npm install --global grunt-cli
gem install sass
- name: Build frontend
working-directory: htmljs
run: |
grunt i18n
output.sh
- name: Build ${{ matrix.environment }}
run: pio run -e ${{ matrix.environment }}
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 256cdf2

Please sign in to comment.