This commit is contained in:
Sacha Weatherstone 2022-03-09 23:39:47 +11:00
parent 5b27a1cf87
commit 2d2c7b739b
No known key found for this signature in database
GPG key ID: 7AB2D7E206124B31
2 changed files with 18 additions and 12 deletions

View file

@ -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

View file

@ -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