0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00
verdaccio/.github/workflows/smok-test-docker.yml

27 lines
840 B
YAML
Raw Normal View History

name: Docker Smoke Test
2022-12-04 10:50:32 +01:00
on:
workflow_dispatch:
push:
branches:
2024-09-12 23:14:20 +02:00
- 6.x
2022-12-04 10:50:32 +01:00
permissions:
contents: read
jobs:
2022-12-04 10:57:19 +01:00
test:
2022-12-04 10:50:32 +01:00
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
2022-12-04 10:50:32 +01:00
with:
2024-09-12 23:14:20 +02:00
node-version: 20
2022-12-04 10:50:32 +01:00
- name: Docker test
run: |
2023-04-03 20:59:32 +02:00
docker run -d -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio:5
2022-12-04 11:03:08 +01:00
- name: verdaccio cli
run: npm install -g verdaccio --registry http://localhost:4873
- name: gastby cli
run: npm install -g gatsby-cli --registry http://localhost:4873
- name: netlify cli
run: npm install -g netlify-cli --registry http://localhost:4873
- name: angular cli
run: npm install -g @angular/cli --registry http://localhost:4873