mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
b0a965b3c2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
24 lines
665 B
YAML
24 lines
665 B
YAML
name: Docker & Publish Pre-check
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
testDocker:
|
|
name: Test Docker Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
|
|
- 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@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
|
|
- name: Publish
|
|
uses: verdaccio/github-actions/publish@f2e0370cfa5d74d24c325017b701bfddc9cc2e5d # tag=v0.4.0
|
|
with:
|
|
args: -d
|