Updated actions config

This commit is contained in:
n1474335 2021-02-01 14:18:17 +00:00
parent 7b68b92498
commit a74ee47bf0
2 changed files with 3 additions and 7 deletions

View File

@ -30,7 +30,6 @@ jobs:
npx grunt testnodeconsumer
- name: Production Build
id: prod_build
if: success()
run: npx grunt prod
@ -38,10 +37,11 @@ jobs:
run: npx grunt exec:sitemap
- name: UI Tests
needs: prod_build
if: success()
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
- name: Prepare for GitHub Pages
if: success()
run: npx grunt copy:ghPages
- name: Deploy to GitHub Pages

View File

@ -30,17 +30,14 @@ jobs:
npx grunt testnodeconsumer
- name: Production Build
id: prod_build
if: success()
run: npx grunt prod
- name: UI Tests
id: ui_tests
needs: prod_build
if: success()
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
- name: Upload Release Assets
needs: ui_tests
if: success()
id: upload-release-assets
uses: svenstaro/upload-release-action@v2
@ -52,7 +49,6 @@ jobs:
file_glob: true
- name: Publish to NPM
needs: ui_tests
if: success()
uses: JS-DevTools/npm-publish@v1
with: