mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
Update x-smok-test-docker.yml
This commit is contained in:
parent
87d4912066
commit
234874ef6e
9
.github/workflows/x-smok-test-docker.yml
vendored
9
.github/workflows/x-smok-test-docker.yml
vendored
@ -6,6 +6,11 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
description: 'Docker tag to use for the verdaccio image'
|
description: 'Docker tag to use for the verdaccio image'
|
||||||
default: '5'
|
default: '5'
|
||||||
|
module_tag:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: 'Npmjs module tag to use for the verdaccio image'
|
||||||
|
default: '@latest'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -13,12 +18,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
|
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version-file: '.nvmrc'
|
||||||
- name: Docker test
|
- name: Docker test
|
||||||
run: |
|
run: |
|
||||||
docker run -d -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio:${{ inputs.docker_tag }}
|
docker run -d -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio:${{ inputs.docker_tag }}
|
||||||
- name: verdaccio cli
|
- name: verdaccio cli
|
||||||
run: npm install -g verdaccio --registry http://localhost:4873
|
run: npm install -g verdaccio${{inputs.module_tag }} --registry http://localhost:4873
|
||||||
- name: gastby cli
|
- name: gastby cli
|
||||||
run: npm install -g gatsby-cli --registry http://localhost:4873
|
run: npm install -g gatsby-cli --registry http://localhost:4873
|
||||||
- name: netlify cli
|
- name: netlify cli
|
||||||
|
Loading…
Reference in New Issue
Block a user