2022-12-04 04:50:32 -05:00
|
|
|
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:
|
2022-12-04 04:57:19 -05:00
|
|
|
test:
|
2022-12-04 04:50:32 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-04-05 00:34:30 -05:00
|
|
|
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
|
2022-12-04 04:50:32 -05:00
|
|
|
with:
|
2022-12-04 04:53:45 -05:00
|
|
|
node-version: 18
|
2022-12-04 04:50:32 -05:00
|
|
|
- name: Docker test
|
|
|
|
run: |
|
2023-04-03 13:59:32 -05:00
|
|
|
docker run -d -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio:5
|
2022-12-04 05:03:08 -05: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
|