Updated actions config

This commit is contained in:
n1474335 2021-02-01 14:14:40 +00:00
parent 274f3acd45
commit 7b68b92498
2 changed files with 7 additions and 4 deletions

View File

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

View File

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