Updated actions config
This commit is contained in:
parent
7b68b92498
commit
a74ee47bf0
4
.github/workflows/master.yml
vendored
4
.github/workflows/master.yml
vendored
@ -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
|
||||
|
6
.github/workflows/releases.yml
vendored
6
.github/workflows/releases.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user