Skip to content

Latest commit

 

History

History
98 lines (68 loc) · 3.16 KB

README.md

File metadata and controls

98 lines (68 loc) · 3.16 KB

A Comprehensive Guide to Fastify, Docker, and CI with StepCI 👋

stepci-demo

Overview

Get up and running with a Fastify application, integrated with continuous testing via Step CI.

IT Man - A Comprehensive Guide to Fastify, Bun, and CI with StepCI [Vietnamese]

Prerequisites

  • Bun installed on your system.
  • antfu/ni 💡 Use the right package manager.

Getting Started

  1. Clone the Repository

    git clone https://github.com/jellydn/stepci-demo.git
  2. Install Dependencies

    bun install
  3. Run Tests Locally

    bun run start
    bun run test:e2e

    Demo

Testing with Step CI

Choose from various methods to run your tests: Node, Docker, or GitHub Actions.

Node

npx stepci run workflow.yml

Docker

docker run \
       -v "$(pwd)"/tests:/tests \
       ghcr.io/stepci/stepci \
       tests/workflow.yml

GitHub Actions

on: [push]
jobs:
  api_test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Step CI Action
        uses: stepci/stepci@main
        with:
          workflow: "workflow.yml"

Deployment with Koyeb

Easily deploy your Fastify application on the serverless platform Koyeb.

Additional Resources

Author

👤 Huynh Duc Dung

Show your support

If this guide has been helpful, please give it a ⭐️.

kofi paypal buymeacoffee