mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-11 23:31:08 +00:00
Rebrand to Pezkuwichain Telemetry
- Rename PolkadotIcon to PezkuwiIcon - Update pinned chains for Pezkuwichain - Add pezkuwichain, bizinikiwi, pezkuwichain-js icons - Update favicon with Pezkuwi branding - Update package.json author to Dijital Kurdistan Tech Institute - Update GitHub links to pezkuwichain/pezkuwi-telemetry - Update backend Cargo.toml authors - Rewrite README with Pezkuwichain documentation - Add GitHub workflows (frontend-ci, backend-ci, docker, lock)
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
name: Frontend CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master]
|
||||
paths:
|
||||
- 'frontend/**'
|
||||
- '.github/workflows/frontend-ci.yml'
|
||||
pull_request:
|
||||
branches: [main, master]
|
||||
paths:
|
||||
- 'frontend/**'
|
||||
- '.github/workflows/frontend-ci.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontend
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Prettier check
|
||||
run: npm run pretty:check
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test -- --passWithNoTests
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: frontend-build
|
||||
path: frontend/build/
|
||||
retention-days: 7
|
||||
Reference in New Issue
Block a user