Skip to content

Error Modal

Error Modal #260

Workflow file for this run

name: Frontend Tests
on:
pull_request:
paths: [frontend/**, token-dispenser/**]
push:
branches: [main]
paths: [frontend/**, token-dispenser/**]
jobs:
test:
runs-on: ubuntu-latest
container:
image: jetprotocol/builder:rust-1.68.0-node-18.15.0-solana-1.14.17-anchor-0.27.0-1
env:
ENDPOINT: http://localhost:8899
env:
PROGRAM_ID: WabZqXyytFA2XeXswf9DdQkQuSZuRiEgKdDmq7c5Mnp
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v3
- name: setup os dependencies
run: apt-get update && apt-get install -y jq
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install deps
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test:ci