Skip to content

Make online devices status reactive #130

Make online devices status reactive

Make online devices status reactive #130

Workflow file for this run

on:
push:
tags:
- '*.*'
- '*.*.*'
branches:
- '*'
workflow_dispatch: # Manually invoked by user.
name: ci-build
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'pnpm'
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: Check
shell: bash
run: pnpm run check
- name: Install playwright
shell: bash
run: pnpx playwright install --with-deps
- name: Test
shell: bash
run: pnpm test
build-container:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/containerize
with:
registry: ghcr.io
registry-path: ${{ github.repository_owner }}/frontend
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
artifact-name: frontend
push-image: ${{ github.ref_type == 'branch' && github.event_name != 'pull_request' && (github.ref_name == 'master' || github.ref_name == 'develop') }}