checking ng_client checkout mechanism

pull/434/head
Rémi Laurent 2022-05-30 15:45:38 +02:00
parent 4c0a19bef7
commit 45b1a8f9ff
1 changed files with 8 additions and 1 deletions

View File

@ -80,14 +80,18 @@ jobs:
- name: checkout latest tag - name: checkout latest tag
run: | run: |
head src/ClientApp.js
git fetch --tags git fetch --tags
git checkout "$(git describe --tags $(git rev-list --tags --max-count=1))" git checkout "$(git describe --tags $(git rev-list --tags --max-count=1))"
head src/ClientApp.js
working-directory: node_modules/ng_client working-directory: node_modules/ng_client
- name: Install ng_client - name: Install ng_client
# this one has a package-lock.json # this one has a package-lock.json
run: | run: |
head src/ClientApp.js
npm ci npm ci
head src/ClientApp.js
working-directory: node_modules/ng_client working-directory: node_modules/ng_client
# rest of javascript deps # rest of javascript deps
@ -95,7 +99,10 @@ jobs:
run: npm install -g grunt-cli run: npm install -g grunt-cli
- name: Install dependencies - name: Install dependencies
run: npm install run: |
head node_modules/ng_client/src/ClientApp.js
npm install
head node_modules/ng_client/src/ClientApp.js
# final "cleanup" # final "cleanup"
- name: post job - name: post job