I have a nodejs project that uses a private git repo as one of it's dependencies. It's defined in package.json like this:
"repo name": "git+https://{access_token}@github.com/{owner}/{repo name}.git#master"
My workflow file looks like this:
name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install modules
run: npm ci
- name: Run tests
run: npm test
Run Code Online (Sandbox Code Playgroud)
npm ci however fails with npm ERR! remote: Repository not found.
Using npm ci on my …