mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-24 23:55:46 -05:00
31 lines
969 B
YAML
31 lines
969 B
YAML
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
npm10:
|
|
name: 'npm10:audit example'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: 'Use Node.js'
|
|
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
|
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
|