/homey-validate-action

GitHub Action to check that Athom Homey application can be published by Homey CLI tool

Primary LanguageShell

Validate Homey App

This GitHub Action is deprecated and is no longer maintained. Please use athombv/github-action-homey-app-validate instead.

This GitHub Action checks that Athom Homey application ready to publish by the Homey CLI tool.

This GitHub action runs homey app validate -l publish command

Usage

Create a workflow file (e.g. .github/workflows/homey-validation.yml) that contains a step for aivus/homey-validate-action.

This is an example of this file:

name: Homey validation

on: push

jobs:
  publish-validation:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: aivus/homey-validate-action@v1

Running action locally

To build and run this action you need to do following:

# build docker image
docker build -t homey-validate-action .

# Inside your Homey App directory run the container
docker run --workdir /workspace -v `pwd`:/workspace homey-validate-action:latest