Skip to content

Health check

Health check #994

Workflow file for this run

name: Health check
on:
schedule:
- cron: '0 17 * * *'
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['10', '12', '14', '16']
max-parallel: 1
name: Node ${{ matrix.node }} Test
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Node Modules
run: npm install
- name: Build package
run: npm run build
- name: Run tests
env:
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }}
run: npm test
- name: Notify slack
if: failure()
uses: kpritam/slack-job-status-action@v1
with:
job-status: ${{ job.status }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel: eng-warnings