Browse Source

setup reg-suit

Yuki Takei 4 years ago
parent
commit
728120f49d
5 changed files with 525 additions and 31 deletions
  1. 5 0
      package.json
  2. 1 0
      packages/app/.gitignore
  3. 1 0
      packages/app/package.json
  4. 26 0
      packages/app/regconfig.json
  5. 492 31
      yarn.lock

+ 5 - 0
package.json

@@ -71,6 +71,11 @@
     "lerna": "^4.0.0",
     "postcss": "^8.4.5",
     "postcss-scss": "^4.0.3",
+    "reg-keygen-git-hash-plugin": "^0.11.1",
+    "reg-notify-github-plugin": "^0.11.1",
+    "reg-notify-slack-plugin": "^0.11.0",
+    "reg-publish-s3-plugin": "^0.11.0",
+    "reg-suit": "^0.11.1",
     "rewire": "^5.0.0",
     "shipjs": "^0.24.1",
     "stylelint": "^14.2.0",

+ 1 - 0
packages/app/.gitignore

@@ -4,6 +4,7 @@
 
 # test
 test/cypress/screenshots
+test/cypress/screenshots-actual
 test/cypress/videos
 
 # dist

+ 1 - 0
packages/app/package.json

@@ -29,6 +29,7 @@
     "dev:migrate:up": "yarn dev:migrate-mongo up",
     "dev:migrate:down": "yarn dev:migrate-mongo down",
     "cy:run": "cypress run --headless",
+    "reg:run": "reg-suit run",
     "//// for CI": "",
     "dev:ci": "yarn dev:client:nowatch && yarn dev:server --ci",
     "predev:ci": "run-p resources:*",

+ 26 - 0
packages/app/regconfig.json

@@ -0,0 +1,26 @@
+{
+  "core": {
+    "workingDir": "test/cypress/screenshots",
+    "actualDir": "test/cypress/screenshots-actual",
+    "thresholdRate": 0.001,
+    "addIgnore": true,
+    "ximgdiff": {
+      "invocationType": "client"
+    }
+  },
+  "plugins": {
+    "reg-keygen-git-hash-plugin": true,
+    "reg-notify-github-plugin": {
+      "prComment": true,
+      "prCommentBehavior": "default",
+      "setCommitStatus": false,
+      "clientId": "$REG_NOTIFY_GITHUB_PLUGIN_CLIENTID"
+    },
+    "reg-notify-slack-plugin": {
+      "webhookUrl": "$SLACK_WEBHOOK_URL"
+    },
+    "reg-publish-s3-plugin": {
+      "bucketName": "growi-vrt-snapshots"
+    }
+  }
+}

File diff suppressed because it is too large
+ 492 - 31
yarn.lock


Some files were not shown because too many files changed in this diff