feat(github actions): added publish action

This commit is contained in:
svetlanaMuravlova
2021-09-02 14:30:18 +03:00
parent 88e7fa0b73
commit 28bdc402af
6 changed files with 215 additions and 726 deletions

View File

@@ -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 }}