2019-10-01 14:54:26 -05:00
|
|
|
name: Docker & Publish Pre-check
|
|
|
|
|
2019-10-03 04:18:43 -05:00
|
|
|
on: [push, pull_request]
|
2019-10-01 14:54:26 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
testDocker:
|
|
|
|
name: Test Docker Build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-09-13 13:11:09 -05:00
|
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
|
2019-10-01 14:54:26 -05:00
|
|
|
- name: Build
|
|
|
|
run: docker build .
|
|
|
|
env:
|
2021-09-07 14:19:44 -05:00
|
|
|
VERDACCIO_BUILD_REGISTRY: https://registry.npmjs.org
|
2019-10-01 14:54:26 -05:00
|
|
|
|
|
|
|
testVerdaccio:
|
|
|
|
name: Test Verdaccio Publish
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-09-13 13:11:09 -05:00
|
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
|
2019-10-01 14:54:26 -05:00
|
|
|
- name: Publish
|
2022-09-13 13:11:09 -05:00
|
|
|
uses: verdaccio/github-actions/publish@f2e0370cfa5d74d24c325017b701bfddc9cc2e5d # tag=v0.4.0
|
2019-10-01 14:54:26 -05:00
|
|
|
with:
|
|
|
|
args: -d
|