-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (33 loc) · 943 Bytes
/
Copy pathplatformio-run.yaml
File metadata and controls
43 lines (33 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: PlatformIO CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/cache@v6
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: svelte/package-lock.json
- name: Install Node.js dependencies
working-directory: svelte
run: npm install
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Setup secrets for build
run: |
cp secrets.ini.example secrets.ini
cp local.ini.example local.ini
- name: Build PlatformIO Project
run: pio run