mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-10 23:39:31 -05:00
35 lines
1,018 B
YAML
35 lines
1,018 B
YAML
|
on:
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- '**'
|
||
|
|
||
|
name: 'Plugin Audit E2E'
|
||
|
jobs:
|
||
|
npm10:
|
||
|
name: 'npm10:audit example'
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||
|
|
||
|
- 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
|