WatchyWatchFace/.forgejo/workflows/compile.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 23: mapping key "run" already defined at line 22
2023-05-31 22:47:18 +03:00

23 lines
645 B
YAML

name: Compile
run-name: ${{ github.actor }} is compiling
on: [push]
jobs:
Compile:
runs-on: ubuntu-latest
steps:
- name: Setup PlatformIO
run: |
apt update
apt -y install curl git python3 python3-pip
python3 -m pip install --upgrade pip
pip3 install -U platformio
pio upgrade --dev
- name: Setup node
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
- name: Checkout code
uses: actions/checkout@v3
- name: Compile
run: cd ${{ github.workspace }}
run: pio run