Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add native config yaml
Sebastian Martinez committed 2 years ago
commit 3c0e10b65c8605599c7fb36b15eff56a4775f29b
parent 3fd5d513a81dd9a3eef867588c752a16abb366c0
1 file changed +31 -0
added .radicle/native.yaml
@@ -0,0 +1,31 @@
+
shell: |
+
  node --version
+
  npm --version
+
  which node
+
  which npm
+

+
  cp -r ../../snapshots ./tests/visual/snapshots
+

+
  mkdir -p ./tests/artifacts
+
  ./scripts/install-binaries
+
  export PATH=$(./scripts/install-binaries --show-path):$PATH
+

+
  npm ci
+
  npm run build
+

+
  exit=0
+
  (npm run check) || exit=1
+
  (npm run test:unit) || exit=1
+
  (npm run test:httpd-api:unit) || exit=1
+
  (npm run test:e2e -- --project chromium --config playwright.buildSmoke.config.ts) || exit=1
+
  (
+
    npm run test:e2e -- --project chromium
+
    cp -r ./tests/artifacts ../../artifacts/e2e
+
  ) || exit=1
+
  (
+
    npm run test:e2e -- --project visual-desktop visual-mobile
+
    cp -r ./tests/artifacts ../../artifacts/visual
+
  ) || exit=1
+

+

+
  exit "$exit"