diff --git a/.github/workflows/fitbit.yml b/.github/workflows/FitbitBuild.yml similarity index 82% rename from .github/workflows/fitbit.yml rename to .github/workflows/FitbitBuild.yml index 70ad848..5f1eb4a 100644 --- a/.github/workflows/fitbit.yml +++ b/.github/workflows/FitbitBuild.yml @@ -1,7 +1,7 @@ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: Fitbit CI +name: FitbitBuild on: push: @@ -14,14 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout master - uses: actions/checkout@master + - name: Checkout branch + uses: actions/checkout@v2 with: lfs: true - - name: Checkout LFS objects - run: git lfs checkout - - name: Setup node uses: actions/setup-node@v1 diff --git a/README.md b/README.md index 02f9283..1f3b39a 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ![languages](https://img.shields.io/badge/languages-JavaScript%20|%20CSS-blue) ![platform](https://img.shields.io/badge/platform-Fitbit%20Ionic-silver) ![version](https://img.shields.io/badge/version-%201.1.1-green) +[![FitbitBuild Actions Status](https://github.com/smirko-dev/fitbit-clockface/workflows/FitbitBuild/badge.svg)](https://github.com/smirko-dev/fitbit-clockface/actions) ## Description @@ -18,7 +19,18 @@ It comes with The clockface is based on https://github.com/Fitbit/sdk-calendar-clock/. Icons are from https://materialdesignicons.com/ ([Apache license version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)). -## Screenshot +## Screenshot ![Screenshot](screenshot.png) + +## How to build + +``` +git clone git@github.com:smirko-dev/fitbit-clockface.git +cd fitbit-clockface +npm add --dev @fitbit/sdk +npm add --dev @fitbit/sdk-cli +npx fitbit-build generate-appid +npx fitbit-build +```