mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-19 10:06:58 +00:00
fix: Various fixes to align behaviors (+add benchmarks for dev) (#28011)
This commit is contained in:
@@ -3,9 +3,10 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '**'
|
||||
branches-ignore:
|
||||
- dev-types
|
||||
- '[0-9]+.[0-9]+.[0-9]+'
|
||||
branches:
|
||||
- dev
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
@@ -47,6 +48,13 @@ jobs:
|
||||
- name: Test
|
||||
run: pnpm run test:coverage
|
||||
|
||||
- name: Bench
|
||||
if: github.ref == 'refs/heads/dev' || github.event_name == 'pull_request'
|
||||
uses: CodSpeedHQ/action@v3
|
||||
with:
|
||||
run: pnpm run bench
|
||||
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||
|
||||
- name: Log in to the Docker container registry
|
||||
if: (github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/tags/')) && github.event_name == 'push'
|
||||
uses: docker/login-action@v3
|
||||
|
||||
Reference in New Issue
Block a user