# CICD Development Plan
## QFI Repository
CI pipeline of QFI with linting and testing will be shipped step by step; considering the current repository status. It is intended to adopt earlier as possible to prevent accumulated errors which are cumbersome to fix it.
### Contracts package
#### CI Flow

#### Current Status
* Lint fails in Solidity codes
* Lint fails in Typescript codes
* [Tests fails](https://github.com/quadratic-funding/qfi/issues/60) (due to maci bugs)
### Subgraph package
#### CI Flow

#### Current Status
* [Compile to WASM fails](https://github.com/quadratic-funding/qfi/issues/64)
---
#### Step 1. CI with Lint Checking
CI will be functional with restricted scope even before failed tests fixed.
#### Step 2. CI with Tests Checking
If the current bugs are fixed, CI will also check tests.
#### Step 3. CI with Package Publishing
Both (1) version tagging to npm and (2) merge event to `main` branch will trigger publish