feat(github actions): added publish action
This commit is contained in:
12
.github/workflows/on-push-or-pull.yml
vendored
12
.github/workflows/on-push-or-pull.yml
vendored
@@ -36,8 +36,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: one_run
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/cache@v2.1.4
|
||||
id: cache
|
||||
with:
|
||||
path: ${{ env.CACHE_NODE_MODULES_PATH }}
|
||||
@@ -45,17 +45,17 @@ jobs:
|
||||
- run: npm ci
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
|
||||
# build ngx-bootstrap
|
||||
# build ng2-file-upload
|
||||
build:
|
||||
needs: install
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/cache@v2.1.4
|
||||
with:
|
||||
path: ${{ env.CACHE_NODE_MODULES_PATH }}
|
||||
key: node_modules-${{ hashFiles('**/package-lock.json') }}
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v2.1.4
|
||||
with:
|
||||
path: ${{ env.CACHE_DIST_PATH }}
|
||||
key: dist-${{ github.run_id }}
|
||||
|
||||
Reference in New Issue
Block a user