Skip to content

Fix CI: add Devnet.toml, enforce LF for Clarity files #18

Fix CI: add Devnet.toml, enforce LF for Clarity files

Fix CI: add Devnet.toml, enforce LF for Clarity files #18

Workflow file for this run

name: FlashStack CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-contracts:
name: Test Smart Contracts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run contract tests
run: npm test
build-web:
name: Build Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: cd web && npm ci
- name: Build Next.js app
run: cd web && npm run build