Skip to content

Test and deploy

Test and deploy #2264

Workflow file for this run

name: Test and deploy
on:
push:
branches:
- master
schedule:
- cron: "1 */12 * * *"
jobs:
TestAndDeploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: npm install and build
run: |
npm i
npm run build
- name: test
run: |
npm run test
- name: deploy
run: |
curl -X POST -d {} ${{ secrets.BUILD_HOOK }}