name: Docker & Publish Pre-check on: [push, pull_request] jobs: testDocker: name: Test Docker Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.3 - name: Build run: docker build . env: VERDACCIO_BUILD_REGISTRY: https://registry.verdaccio.org testVerdaccio: name: Test Verdaccio Publish runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.3 - name: Publish uses: verdaccio/github-actions/publish@v0.4.0 with: args: -d