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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout code & submodules
uses: actions/checkout@v3
with:
submodules: true
- uses: pnpm/action-setup@v2.2.1
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.1
with:
version: latest
- uses: actions/setup-node@v3
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 17
cache: 'pnpm'
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'pnpm'
- run: pnpm install
- run: pnpm format
- run: pnpm build
- name: Install Dependencies
run: pnpm install
- name: Lint & Format
run: pnpm format
- name: Build Site
run: pnpm build

View file

@ -8,7 +8,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true