@qawolf/cli 0.9.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/static/gitlab.hbs DELETED
@@ -1,26 +0,0 @@
1
- qawolf:
2
- image: qawolf/qawolf:v{{{version}}}
3
-
4
- cache:
5
- paths:
6
- - node_modules/
7
-
8
- script:
9
- - npm install
10
- # # Start local server
11
- # - npm run start & npx wait-on http://localhost:3000
12
- - npx qawolf test
13
-
14
- variables:
15
- QAW_ARTIFACT_PATH: $CI_PROJECT_DIR/artifacts
16
- ## configure tests with environment variables
17
- # QAW_SLEEP_MS: 0
18
- ## you can also use GitLab protected environment variables
19
- ## https://docs.gitlab.com/ee/ci/variables/#protected-environment-variables
20
- # LOGIN_PASSWORD: $SECRET_PASSWORD
21
-
22
- artifacts:
23
- when: always
24
- paths:
25
- - $CI_PROJECT_DIR/artifacts
26
- expire_in: 1 week
@@ -1,32 +0,0 @@
1
- pipeline {
2
- agent {
3
- docker {
4
- image 'qawolf/qawolf:v{{{version}}}'
5
- }
6
- }
7
- stages {
8
- stage('Build') {
9
- steps {
10
- sh 'npm install'
11
- }
12
- }
13
- stage('Test') {
14
- environment {
15
- QAW_ARTIFACT_PATH = './artifacts'
16
- // configure tests with environment variables
17
- // QAW_SLEEP_MS: 0
18
- }
19
- steps {
20
- sh 'rm -rf ./artifacts' // delete old artifacts
21
- // // Start local server
22
- // sh 'npm run start & npx wait-on http://localhost:3000'
23
- sh 'npx qawolf test'
24
- }
25
- }
26
- }
27
- post {
28
- always {
29
- archiveArtifacts(artifacts: 'artifacts/**/*.*', fingerprint: true)
30
- }
31
- }
32
- }