2019-10-01 21:54:26 +02:00
|
|
|
name: Docker & Publish Pre-check
|
|
|
|
|
2020-06-24 12:28:00 +02:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- .github/workflows/docker-publish-pre-check.yml
|
|
|
|
- 'packages/**'
|
|
|
|
- 'docker-bin/**'
|
|
|
|
- 'package.json'
|
|
|
|
- 'lerna.json'
|
2019-10-01 21:54:26 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
testDocker:
|
|
|
|
name: Test Docker Build
|
2020-08-31 22:21:38 +02:00
|
|
|
runs-on: ${{ matrix.os }}
|
2019-10-01 21:54:26 +02:00
|
|
|
steps:
|
2020-03-18 23:45:43 +01:00
|
|
|
- uses: actions/checkout@v2.3.1
|
2019-10-01 21:54:26 +02:00
|
|
|
- name: Build
|
2020-08-11 07:21:51 +02:00
|
|
|
run: npm run docker
|
2019-10-01 21:54:26 +02:00
|
|
|
env:
|
|
|
|
VERDACCIO_BUILD_REGISTRY: https://registry.verdaccio.org
|
|
|
|
|
2020-03-18 23:45:43 +01:00
|
|
|
# testVerdaccio:
|
|
|
|
# name: Test Verdaccio Publish
|
2020-08-31 22:21:38 +02:00
|
|
|
# runs-on: ${{ matrix.os }}
|
2020-03-18 23:45:43 +01:00
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@v1
|
|
|
|
# - name: Publish
|
|
|
|
# uses: verdaccio/github-actions/publish@v0.4.0
|
|
|
|
# with:
|
|
|
|
# args: -d
|