Skip to content

Add information about new firmware which does not break Zigbee networโ€ฆ #6572

Add information about new firmware which does not break Zigbee networโ€ฆ

Add information about new firmware which does not break Zigbee networโ€ฆ #6572

Workflow file for this run

name: Build โš™ and Deploy ๐Ÿš€
on: [push, pull_request]
concurrency:
group: ${{ github.ref }}
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout ๐Ÿšš
uses: actions/checkout@v4
- name: Setup pnpm โš—
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js โš—
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies ๐ŸŒ
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm run pretty:check
- name: Build ๐Ÿ› 
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
run: pnpm run build
- name: Run tests ๐Ÿฉบ
run: pnpm run test
- name: Add build.txt ๐Ÿ—“
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
run: |
git log --pretty=format:'%h' -n 1 > dist/build.txt
echo >> dist/build.txt
date +%F_%T >> dist/build.txt
- name: Deploy ๐Ÿš€
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
single-commit: true
clean: true