mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-03-05 21:00:08 -08:00
Fix CI
This commit is contained in:
parent
5b27a1cf87
commit
2d2c7b739b
28
.github/workflows/pr.yml
vendored
28
.github/workflows/pr.yml
vendored
|
@ -6,20 +6,26 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout code & submodules
|
||||||
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- uses: pnpm/action-setup@v2.2.1
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v2.2.1
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
|
- name: Setup NodeJS
|
||||||
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 17
|
node-version: 17
|
||||||
cache: 'pnpm'
|
|
||||||
- uses: actions/setup-node@v2
|
- name: Install Dependencies
|
||||||
with:
|
run: pnpm install
|
||||||
node-version: '16'
|
|
||||||
cache: 'pnpm'
|
- name: Lint & Format
|
||||||
- run: pnpm install
|
run: pnpm format
|
||||||
- run: pnpm format
|
|
||||||
- run: pnpm build
|
- name: Build Site
|
||||||
|
run: pnpm build
|
||||||
|
|
2
.github/workflows/update_protobufs.yml
vendored
2
.github/workflows/update_protobufs.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue