소스 검색

create travis.yml

AykutSarac 3 년 전
부모
커밋
b38fc1a942
1개의 변경된 파일19개의 추가작업 그리고 0개의 파일을 삭제
  1. 19 0
      .travis.yml

+ 19 - 0
.travis.yml

@@ -0,0 +1,19 @@
+language: node_js
+node_js:
+  - "14"
+cache:
+directories:
+  - node_modules
+  - .next
+script:
+  - npm run test
+  - npm run build
+deploy:
+  provider: pages
+  skip_cleanup: true
+  local_dir: out
+  github_token: $GITHUB_TOKEN
+  target_branch: gh-pages
+  keep_history: true
+  on:
+    branch: main