Files
zigbee-OTA/.github/workflows/ci.yml
2025-03-23 21:30:14 +01:00

34 lines
778 B
YAML

name: CI
on:
pull_request:
types: [opened, synchronize]
branches: [master]
paths: ['src/**', 'tests/**', 'package.json']
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Build
run: pnpm run build
- name: Lint
run: pnpm run check
- name: Test
run: pnpm run test:coverage