Skip to content

Commit

Permalink
adding test command
Browse files Browse the repository at this point in the history
  • Loading branch information
zoe-codez committed Mar 26, 2024
1 parent 8d3cb4e commit c8131d8
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 153 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
pull_request:
branches:
- main

push:
branches:
- main
jobs:
lint-and-build:
runs-on: ubuntu-latest
Expand All @@ -16,3 +18,4 @@ jobs:
- run: npm install
- run: npm run lint
- run: npm run build
- run: npm run test
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Publish

on:
push:
branches:
- main
tags:
- 'v*'

jobs:
publish:
Expand All @@ -15,6 +15,9 @@ jobs:
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
- run: npm i
- run: npm run lint
- run: npm run build
- run: npm run test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Welcome to `@digital-alchemy/automation`!

This project builds on the utilities provided by `@digital-alchemy/hass` & `@digital-alchemy/synapse` to create home automation focused utilities for easily coordinating entities.

- Extended docs: https://docs.digital-alchemy.app/Automation
- Discord: https://discord.digital-alchemy.app
- [Extended docs](https://docs.digital-alchemy.app/Automation)
- [Discord](https://discord.com/invite/mtWHk36upW)

## 💾 Install

Expand Down
Loading

0 comments on commit c8131d8

Please sign in to comment.