fastify / workflows

Reusable workflows for use in the Fastify organization
MIT License
9 stars 6 forks source link

Workflow for official Fastify Demo #133

Closed jean-michelet closed 3 months ago

jean-michelet commented 3 months ago

Prerequisites

🚀 Feature Proposal

Maybe we should create a workflow for the Official Fastify Demo .

Motivation

As the demo is not a plugin, I'm having trouble using an existing workflow, but maybe you have a solution, that I can modify an existing workflow like the one for the mysql plugin.

It wouldn't designed to be shared, but it might be easier to have all the workflows in one place when upgrading versions.

Example

name: CI
on:
  push:
    branches:
      - main
      - next
      - "v*"
    paths-ignore:
      - "docs/**"
      - "*.md"
  pull_request:
    paths-ignore:
      - "docs/**"
      - "*.md"
jobs:
  test:
    uses: fastify/workflows/.github/workflows/demo-ci.yml@v4.1.0
    with:
      license-check: true
      lint: true
mcollina commented 3 months ago

I don't think we need one here, you can add it to the demo repository