Skip to content

build db

build db #7

Workflow file for this run

name: build db
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
name: Complie DB
runs-on: ubuntu-latest
steps:
- name: Get latest code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run Tests
run: |
node tester.js
- name: Generate db.json commit it back to repo.
run: |
node db.js