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