Skip to content

upleveled/preflight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 8, 2025
9d46abc Β· Mar 8, 2025
Oct 13, 2024
Feb 27, 2025
Feb 27, 2025
Oct 26, 2024
Mar 6, 2025
Mar 8, 2025
Oct 13, 2024
Feb 11, 2025
Feb 27, 2025
Jan 12, 2021
Nov 17, 2023
Feb 10, 2025
Mar 8, 2025
Mar 6, 2025
Feb 5, 2024
May 3, 2022
Feb 9, 2021
Oct 13, 2024

Repository files navigation

UpLeveled Preflight

A command line tool to check your UpLeveled projects before you submit

A command line tool showing various passing tests that have run against a software project

Install

pnpm add --global @upleveled/preflight

Run

preflight

Install and Run with Docker

# Pull the image
docker pull ghcr.io/upleveled/preflight

# Run the image against a GitHub repo URL
docker run ghcr.io/upleveled/preflight https://github.com/upleveled/preflight-test-project-react-passing

# Or run the image against a specific branch in a GitHub repo URL
docker run ghcr.io/upleveled/preflight https://github.com/upleveled/preflight-test-project-react-passing fix-tests

Run Preflight with GitHub Actions workflow

To run Preflight on every commit in your repository, you can use the following GitHub Actions workflow:

.github/workflows/preflight.yml

name: Preflight
on: [push]

jobs:
  preflight:
    name: Preflight
    runs-on: ubuntu-latest

    steps:
      - name: Pull latest Preflight image
        run: docker pull ghcr.io/upleveled/preflight
      - name: Run Preflight
        run: docker run ghcr.io/upleveled/preflight https://github.com/${{ github.repository}} ${{ github.ref_name }}