title: Npm install falied in github action
body: <p>I tried to create a github action that build my electron app with vue and vue-cli-plugin-electron-builder,but I can't install Dependencies by npm</p>
  <p>my folder tree like this:</p>
  <pre><code>|   .gitignore
  |   babel.config.js
  |   LICENSE
  |   package-lock.json
  |   package.json
  |   README.md
  |   vue.config.js
  |   yarn.lock
  |
  +---public
  |       favicon.ico
  |       index.html
  |       test.jpg
  |
  \---src
      |   App.vue
      |   background.js
      |   main.js
      |   preload.js
      |
      +---assets
      |       ...
      |
      \---components
              ...
  </code></pre>
  <p>when I run the CI,I found a error that</p>
  <pre><code>  npm ci
    shell: C:\Program Files\PowerShell\7\pwsh.EXE -command &quot;. '{0}'&quot;
  npm ERR! The `npm ci` command can only install with an existing package-lock.json or
  npm ERR! npm-shrinkwrap.json with lockfileVersion &gt;= 1. Run an install with npm@5 or
  npm ERR! later to generate a package-lock.json file, then try again.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\npm\cache\_logs\2021-08-01T04_59_20_385Z-debug.log
  Error: Process completed with exit code 1.
  </code></pre>
  <p>this is my blank.yml:</p>
  <pre><code># This is a basic workflow to help you get started with Actions
  
  name: CI
  
  # Controls when the workflow will run
  on:
    # Triggers the workflow on push or pull request events but only for the main branch
    push:
      branches: [ main ]
    pull_request:
      branches: [ main ]
  
    # Allows you to run this workflow manually from the Actions tab
    workflow_dispatch:
  
  # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  jobs:
    # This workflow contains a single job called &quot;build&quot;
    build:
      # The type of runner that the job will run on
      name: Build
      runs-on: windows-latest
      steps:
      - name: Install Node.js, NPM and Yarn
        uses: actions/setup-node@v1
        with:
            node-version: 16
      - name: Install Dependencies
        run: |
              npm ci
      - name: Electron Build
        run: |
              npm run electron:build --windows nsis --x64 --ia32
  </code></pre>
  <p>I tried search on bing with the key word &quot;npm install failed in github action&quot; but I found nothing helpful.
  also,I tried using 'npm install' instead the 'npm ci', but it showed the same error message that it can't find the package.json
  the 'npm install' 's error message like this:</p>
  <pre><code>Run npm install
  npm ERR! code ENOENT
  npm ERR! syscall open
  npm ERR! path D:\a\example\example/package.json
  npm ERR! errno -4058
  npm ERR! enoent ENOENT: no such file or directory, open 'D:\a\example\example\package.json'
  npm ERR! enoent This is related to npm not being able to find a file.
  npm ERR! enoent 
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\npm\cache\_logs\2021-08-01T05_12_56_060Z-debug.log
  Error: Process completed with exit code 1.
  </code></pre>
  <p>How can I solve it?</p>
  <p>English is not my native language; please excuse typing errors.</p>