fix build #133
Workflow file for this run
This file contains hidden or 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: PlatformIO CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cache/pip | |
| ~/.platformio/.cache | |
| svelte/node_modules | |
| key: ${{ runner.os }}-pio-svelte | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install PlatformIO Core | |
| run: pip install --upgrade platformio | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Setup secrets for build | |
| run: cp secrets.ini.example secrets.ini && cp local.ini.example local.ini | |
| - name: Install Svelte dependencies | |
| run: | | |
| cd svelte | |
| npm install | |
| - name: Build Firmware | |
| run: pio run -e usb_spider |