Skip to content

Commit ae1cc56

Browse files
committed
chore(tests): snippet tests action
1 parent 88e5e12 commit ae1cc56

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

.ci/doc/config.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,20 @@ runners:
1010
node:
1111
service: doc-runner-node
1212
path: /var/snippets/node
13-
lint:
14-
global: true
15-
cmd: npx eslint@8.38.0 -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}
16-
before: timeout 600 ash -c 'until stat /tmp/runner_ready_to_lint; do sleep 1; done'
1713
run:
1814
cmd: node {{ snippet.source }}
1915
before: timeout 600 ash -c 'until stat /tmp/runner_is_ready && curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done'
2016

2117
web:
2218
service: doc-runner-web
2319
path: /var/snippets/web
24-
lint:
25-
global: true
26-
cmd: npx eslint@8.38.0 -c /mnt/.ci/doc/eslint.json --parser-options ecmaVersion:12 {{ snippet.dir }}/*.html
27-
before: timeout 600 bash -c 'until stat /home/node/runner_ready_to_lint; do sleep 1; done'
2820
run:
2921
cmd: node puppeteer.js {{ snippet.dir }}/{{ snippet.source }}
3022
before: timeout 600 bash -c 'until stat /home/node/runner_is_ready && curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done'
3123

3224
webpack:
3325
service: doc-runner-webpack
3426
path: /var/snippets/webpack
35-
lint:
36-
global: true
37-
cmd: npx eslint8.38.0 -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}
38-
before: timeout 600 bash -c 'until stat /home/node/runner_ready_to_lint; do sleep 1; done'
3927
build:
4028
cmd: node webpackBuild.js {{ snippet.dir }}/{{ snippet.source }}
4129
before: timeout 600 bash -c 'until stat /home/node/runner_is_ready; do sleep 1; done'

0 commit comments

Comments
 (0)