Update releases.yml
Updated the workflow to avoid installing node dependencies twice.pull/11/head
parent
ead469f096
commit
4ddb6c42d8
|
@ -48,19 +48,24 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install ng-anr
|
||||||
run: |
|
uses: actions/checkout@v3
|
||||||
npm install
|
with:
|
||||||
|
repository: monarc-project/ng-anr
|
||||||
|
ref: ${{ steps.latestrelease.outputs.releasetag }}
|
||||||
|
path: './node_modules/ng_anr'
|
||||||
|
|
||||||
- name: Install ng-anr dependencies
|
- name: Install ng-backoffice
|
||||||
run: |
|
uses: actions/checkout@v3
|
||||||
npm install
|
with:
|
||||||
working-directory: node_modules/ng_anr/
|
repository: monarc-project/ng-backoffice
|
||||||
|
ref: ${{ steps.latestrelease.outputs.releasetag }}
|
||||||
|
path: './node_modules/ng_backoffice'
|
||||||
|
|
||||||
- name: Install ng-backoffice dependencies
|
- name: Install ng-backoffice dependencies
|
||||||
run: |
|
run: |
|
||||||
npm install
|
cd node_modules/ng_backoffice
|
||||||
working-directory: node_modules/ng_backoffice/
|
npm ci
|
||||||
|
|
||||||
# final "cleanup"
|
# final "cleanup"
|
||||||
- name: post job
|
- name: post job
|
||||||
|
|
Loading…
Reference in New Issue