meshtastic/.github/workflows/pr.yml

32 lines
583 B
YAML
Raw Normal View History

name: Pull Request
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
2022-03-09 04:39:47 -08:00
- name: Checkout code & submodules
uses: actions/checkout@v3
with:
submodules: true
2022-03-09 04:39:47 -08:00
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.1
with:
2022-03-09 04:10:04 -08:00
version: latest
2022-03-09 04:39:47 -08:00
- name: Setup NodeJS
uses: actions/setup-node@v3
2022-03-09 04:10:04 -08:00
with:
node-version: 17
2022-03-09 04:39:47 -08:00
- name: Install Dependencies
run: pnpm install
- name: Lint & Format
run: pnpm format
- name: Build Site
run: pnpm build