Merge pull request #232 from washishi/patch-1 #42
This file contains 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: Build Stack-chan Firmware | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: ./.github/actions/setup | |
- name: Build | |
run: source $HOME/.local/share/xs-dev-export.sh && npm run build | |
working-directory: ./firmware | |
- name: Build CoreS3 | |
run: source $HOME/.local/share/xs-dev-export.sh && npm run build --target=esp32/m5stack_cores3 | |
working-directory: ./firmware | |
- name: Check Format | |
run: npm run format | |
working-directory: ./firmware | |
- name: Lint | |
run: npm run lint | |
working-directory: ./firmware |