fixing pipeline for PR and dependencies
This commit is contained in:
1 parent
c42d256454
commit
643e7acf30
2 files changed
+392
-249
No files matched your search
@@ -38,9 +38,10 @@ jobs:
|
|||||||
- name: Prepare archive
|
- name: Prepare archive
|
||||||
run: |
|
run: |
|
||||||
mkdir -p vision-start
|
mkdir -p vision-start
|
||||||
mv dist vision-start/
|
cp -a dist/. vision-start/
|
||||||
mv extension vision-start/
|
cp -a extension vision-start/
|
||||||
mv manifest.json vision-start/
|
cp manifest.json vision-start/
|
||||||
|
test -f vision-start/index.html
|
||||||
|
|
||||||
- name: Create zip archive
|
- name: Create zip archive
|
||||||
run: |
|
run: |
|
||||||
@@ -80,9 +81,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Unpack build artifact
|
- name: Unpack build artifact
|
||||||
run: |
|
run: |
|
||||||
unzip -o -q ${{ env.ARCHIVE_NAME }}
|
mkdir -p dist
|
||||||
if [ ! -d dist ]; then
|
unzip -o -q ${{ env.ARCHIVE_NAME }} -d dist
|
||||||
echo "The build artifact does not contain dist/."
|
if [ ! -f dist/index.html ]; then
|
||||||
|
echo "The build artifact does not contain index.html at its root."
|
||||||
unzip -l ${{ env.ARCHIVE_NAME }}
|
unzip -l ${{ env.ARCHIVE_NAME }}
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Generated
+384
-243
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user