mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 06:55:08 -04:00
Updated actions config
This commit is contained in:
parent
7b68b92498
commit
a74ee47bf0
2 changed files with 3 additions and 7 deletions
4
.github/workflows/master.yml
vendored
4
.github/workflows/master.yml
vendored
|
@ -30,7 +30,6 @@ jobs:
|
||||||
npx grunt testnodeconsumer
|
npx grunt testnodeconsumer
|
||||||
|
|
||||||
- name: Production Build
|
- name: Production Build
|
||||||
id: prod_build
|
|
||||||
if: success()
|
if: success()
|
||||||
run: npx grunt prod
|
run: npx grunt prod
|
||||||
|
|
||||||
|
@ -38,10 +37,11 @@ jobs:
|
||||||
run: npx grunt exec:sitemap
|
run: npx grunt exec:sitemap
|
||||||
|
|
||||||
- name: UI Tests
|
- name: UI Tests
|
||||||
needs: prod_build
|
if: success()
|
||||||
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||||
|
|
||||||
- name: Prepare for GitHub Pages
|
- name: Prepare for GitHub Pages
|
||||||
|
if: success()
|
||||||
run: npx grunt copy:ghPages
|
run: npx grunt copy:ghPages
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- 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
|
npx grunt testnodeconsumer
|
||||||
|
|
||||||
- name: Production Build
|
- name: Production Build
|
||||||
id: prod_build
|
|
||||||
if: success()
|
if: success()
|
||||||
run: npx grunt prod
|
run: npx grunt prod
|
||||||
|
|
||||||
- name: UI Tests
|
- name: UI Tests
|
||||||
id: ui_tests
|
if: success()
|
||||||
needs: prod_build
|
|
||||||
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||||
|
|
||||||
- name: Upload Release Assets
|
- name: Upload Release Assets
|
||||||
needs: ui_tests
|
|
||||||
if: success()
|
if: success()
|
||||||
id: upload-release-assets
|
id: upload-release-assets
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
@ -52,7 +49,6 @@ jobs:
|
||||||
file_glob: true
|
file_glob: true
|
||||||
|
|
||||||
- name: Publish to NPM
|
- name: Publish to NPM
|
||||||
needs: ui_tests
|
|
||||||
if: success()
|
if: success()
|
||||||
uses: JS-DevTools/npm-publish@v1
|
uses: JS-DevTools/npm-publish@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue