Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

servers-express-api-with-express-and-handlebars #1291

servers-express-api-with-express-and-handlebars

servers-express-api-with-express-and-handlebars #1291

name: servers-express-api-with-express-and-handlebars
on:
push:
paths:
- 'servers/express/api-with-express-and-handlebars/**'
pull_request:
paths:
- 'servers/express/api-with-express-and-handlebars/**'
schedule:
# Every day at 1am
- cron: '0 1 * * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [12.x]
env:
CI: true
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
working-directory: './servers/express/api-with-express-and-handlebars'
- name: npm test
run: npm test
working-directory: './servers/express/api-with-express-and-handlebars'