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

30 lines
905 B
YAML
Raw Normal View History

name: Docker Smoke Test 6.x
2022-12-04 10:50:32 +01:00
on:
workflow_dispatch:
push:
branches:
- 6.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@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
2022-12-04 10:50:32 +01:00
with:
node-version: 16
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