Skip to content

test: Fixes CI test to include more info #7

test: Fixes CI test to include more info

test: Fixes CI test to include more info #7

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- reopened
- edited
- synchronize
env:
HUSKY: 0 # Disables husky hooks
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
name: Run All Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "pnpm"
- name: Install Extism
run: |
curl -O https://raw.githubusercontent.com/extism/js-pdk/main/install.sh
bash install.sh
- name: Install dependencies
run: pnpm install
- name: Build the WASM Pack
run: pnpm build
- name: List out the dist dir (sanity check)
run: ls -la dist
- name: Run Test Suite
run: pnpm test