WatchyWatchFace/.forgejo/workflows/compile.yml

19 lines
465 B
YAML
Raw Normal View History

2023-05-30 18:46:26 +03:00
name: Compile
run-name: ${{ github.actor }} is compiling
2023-05-30 19:09:57 +03:00
on: [push]
2023-05-30 18:46:26 +03:00
jobs:
Compile:
runs-on: ubuntu-latest
2023-05-30 18:46:26 +03:00
steps:
- name: Setup PlatformIO
2023-05-30 19:34:50 +03:00
run: |
2023-05-30 19:35:59 +03:00
apt update
2023-05-30 19:37:28 +03:00
apt -y install platformio
2023-05-30 21:16:28 +03:00
- name: Setup node
run: |
2023-05-30 21:18:29 +03:00
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
2023-05-30 21:16:28 +03:00
apt-get install -y nodejs
- uses: actions/checkout@v3
2023-05-30 21:10:51 +03:00
- run: cd ${{ github.workspace }}
- run: pio run