Skip to content

Update CI

Update CI #6

Workflow file for this run

name: CI
on:
push:
branches:
- master
- develop
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Gramps
run: sudo apt-get install -y gramps
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Clone data
uses: actions/checkout@v3
with:
repository: cassayre/genealogy
path: genealogy
ssh-key: ${{ secrets.GENEALOGY_DEPLOY_KEY }}
- name: Convert Gedcom
run: npm run update:gedcom
- name: Compile data
run: npm run update:compile
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Style
run: npm run prettier