2019-10-01 14:54:26 -05:00
|
|
|
name: Docker & Publish Pre-check
|
|
|
|
|
2020-06-24 05:28:00 -05:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- .github/workflows/docker-publish-pre-check.yml
|
|
|
|
- 'packages/**'
|
|
|
|
- 'docker-bin/**'
|
|
|
|
- 'package.json'
|
|
|
|
- 'lerna.json'
|
2019-10-01 14:54:26 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
testDocker:
|
|
|
|
name: Test Docker Build
|
2020-09-01 14:22:36 -05:00
|
|
|
runs-on: ubuntu-latest
|
2019-10-01 14:54:26 -05:00
|
|
|
steps:
|
2020-09-01 14:22:36 -05:00
|
|
|
- uses: actions/checkout@v2.3.1
|
|
|
|
- name: Build
|
|
|
|
run: npm run docker
|
|
|
|
env:
|
|
|
|
VERDACCIO_BUILD_REGISTRY: https://registry.verdaccio.org
|
|
|
|
# testVerdaccio:
|
|
|
|
# name: Test Verdaccio Publish
|
|
|
|
# runs-on: ubuntu-latest
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@v1
|
|
|
|
# - name: Publish
|
|
|
|
# uses: verdaccio/github-actions/publish@v0.4.0
|
|
|
|
# with:
|
|
|
|
# args: -d
|