mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
29 lines
916 B
YAML
29 lines
916 B
YAML
name: Docker Smoke Test 5.x
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 5.x
|
|
schedule:
|
|
# run every sunday
|
|
- cron: '0 0 * * 0'
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
|
|
with:
|
|
node-version: 18
|
|
- name: Docker test
|
|
run: |
|
|
docker run -d -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio:5.x-next
|
|
- 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
|