on: pull_request: branches: - '**' name: 'Plugin Audit E2E' jobs: npm10: name: 'npm10:audit example' runs-on: ubuntu-latest steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: 'Use Node.js' uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2 with: node-version-file: '.nvmrc' - name: 'install latest npm 10' run: npm i -g npm@next-10 - name: Install Dependencies run: yarn install - name: 'Run verdaccio in the background' run: | nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml & - name: 'Ping to verdaccio' run: | npm ping --registry http://localhost:4873 - name: 'Running the integration test' run: | source scripts/e2e-setup-ci.sh npm init --yes npm install next --registry http://localhost:4873 --loglevel info npm audit