Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 22 additions & 7 deletions .github/workflows/website-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Website Continuous integration

on:
push:
branches: [main]
branches: [ci]
pull_request:
branches: [main]

Expand All @@ -17,6 +17,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install protobuf compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
Expand All @@ -30,22 +38,29 @@ jobs:
- name: Cache pnpm dependencies
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
website/node_modules
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: |
cd website
pnpm install
pnpm install --frozen-lockfile
- name: Run checks
continue-on-error: true # WARNING: will be fixed in future
run: |
cd website
pnpm lint
pnpm test
pnpm typecheck
pnpm run lint
pnpm run test
pnpm run typecheck
- name: Build client-ext
run: |
cd website/client-ext
rustup target add wasm32-unknown-unknown
cargo build --package=evops-extism --release --target=wasm32-unknown-unknown
- name: Build project
run: |
cd website
pnpm build
pnpm run build
2 changes: 1 addition & 1 deletion website
Submodule website updated 2 files
+1 −0 package.json
+3 −0 pnpm-lock.yaml
Loading