Update CI #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |