0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-03 23:09:17 -05:00
verdaccio/.github/workflows/smok-test-docker.yml

30 lines
905 B
YAML
Raw Normal View History

2024-09-12 22:35:11 +02:00
name: Docker Smoke Test 7.x
2022-12-04 10:50:32 +01:00
on:
workflow_dispatch:
push:
branches:
2024-09-12 22:35:11 +02:00
- 7.x
2022-12-04 10:50:32 +01:00
schedule:
# run every sunday
- cron: '0 0 * * 0'
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:
2023-09-24 09:29: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