@upleveled/preflight
TypeScript icon, indicating that this package has built-in type declarations

7.0.3 • Public • Published

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 }}

Readme

Keywords

none

Package Sidebar

Install

npm i @upleveled/preflight

Weekly Downloads

219

Version

7.0.3

License

MIT

Unpacked Size

120 kB

Total Files

57

Last publish

Collaborators

  • karlhorky