Bump path-to-regexp and express #706
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: Docs | |
on: | |
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 |