Skip to content

Scaf End-to-End Tests #18

Scaf End-to-End Tests

Scaf End-to-End Tests #18

Workflow file for this run

# Simple end-to-end test of installing the project and initializing the
# sample project. Not a serious end-to-end test.
name: e2e-test
run-name: Scaf End-to-End Tests
on: [push]
env:
NODE_VERSION: 20
jobs:
create-sample-project:
name: Create sample project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set up Node version to 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm build
- name: Initialise sample project
run: pnpm --filter=scaf scaf init