Skip to content

GraphAcademy ads

GraphAcademy ads #697

Workflow file for this run

name: Docs
on:
push:
branches:
- 'publish'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: '14'
# remind: workaround to use http instead of git
# otherwise, the following error is thrown when installing dependencies:
# npm ERR! Error while executing:
# npm ERR! /usr/bin/git ls-remote -h -t ssh://[email protected]/Mogztter/asciidoc-cypher-query-runner.git
# npm ERR!
# npm ERR! Warning: Permanently added the RSA host key for IP address '140.82.113.3' to the list of known hosts.
# npm ERR! [email protected]: Permission denied (publickey).
# npm ERR! fatal: Could not read from remote repository.
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- run: npm ci
- run: npm run build
- run: npm run lint