瀏覽代碼

Update Cypress workflow

Jeremy Thomas 3 年之前
父節點
當前提交
f777b44d58
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .github/workflows/main.yml

+ 4 - 0
.github/workflows/main.yml

@@ -11,4 +11,8 @@ jobs:
       - name: Cypress run
         uses: cypress-io/github-action@v2
         with:
+          working-directory: docs
           install-command: npm install
+          build: npm run bulma-sass
+          start: JEKYLL_ENV=production jekyll serve --host 127.0.0.1 --port 4000
+          wait-on: "http://127.0.0.1:4000"