mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Fixed yaml
This commit is contained in:
parent
b86e960456
commit
d6fc21cc34
1 changed files with 4 additions and 3 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -8,7 +8,6 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set node version
|
- name: Set node version
|
||||||
|
@ -23,13 +22,14 @@ jobs:
|
||||||
lint:
|
lint:
|
||||||
needs: setup
|
needs: setup
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: npx grunt lint
|
run: npx grunt lint
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
needs: setup
|
needs: setup
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
- name: Unit Tests
|
- name: Unit Tests
|
||||||
run: |
|
run: |
|
||||||
npm test
|
npm test
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
needs: [lint, tests]
|
needs: [lint, tests]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
- name: Production Build
|
- name: Production Build
|
||||||
run: npx grunt prod
|
run: npx grunt prod
|
||||||
- name: Generate sitemap
|
- name: Generate sitemap
|
||||||
|
@ -47,6 +47,7 @@ jobs:
|
||||||
ui-tests:
|
ui-tests:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
- name: UI Tests
|
- name: UI Tests
|
||||||
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue