2024-09-14 20:11:12 +02:00
|
|
|
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:
|
2023-12-02 20:16:27 +01:00
|
|
|
- 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
|