mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
pre-release commit
This commit is contained in:
parent
c5dee4bb17
commit
a9d6965bef
485 changed files with 111444 additions and 2 deletions
69
.aoneci/workflows/ci.yml
Normal file
69
.aoneci/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# .aoneci/workflows/ci.yml
|
||||
|
||||
name: Qwen Code CI
|
||||
|
||||
triggers:
|
||||
push:
|
||||
branches: [main, dev, integration]
|
||||
merge_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and Lint
|
||||
steps:
|
||||
- uses: checkout
|
||||
- uses: setup-env
|
||||
inputs:
|
||||
node-version: '20'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run formatter check
|
||||
run: |
|
||||
npm run format
|
||||
git diff --exit-code
|
||||
|
||||
- name: Run linter
|
||||
run: npm run lint:ci
|
||||
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
|
||||
- name: Run type check
|
||||
run: npm run typecheck
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: upload-artifact
|
||||
inputs:
|
||||
name: build-artifacts-20
|
||||
path: |
|
||||
packages/*/dist/**/*
|
||||
package-lock.json
|
||||
|
||||
test:
|
||||
name: Test
|
||||
needs: build # This job depends on the 'build' job
|
||||
steps:
|
||||
- uses: checkout
|
||||
|
||||
- uses: setup-env
|
||||
inputs:
|
||||
node-version: '20'
|
||||
|
||||
- uses: download-artifact
|
||||
inputs:
|
||||
name: build-artifacts-20
|
||||
path: .
|
||||
|
||||
- name: Install dependencies for testing
|
||||
run: npm ci
|
||||
|
||||
- name: Run tests and generate reports
|
||||
run: NO_COLOR=true npm run test:ci
|
||||
|
||||
- name: Upload coverage reports
|
||||
uses: upload-artifact
|
||||
inputs:
|
||||
name: coverage-reports-20
|
||||
path: packages/*/coverage
|
||||
Loading…
Add table
Add a link
Reference in a new issue