Skip to content

Commit

Permalink
Remove vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
otiai10 committed Nov 15, 2024
1 parent b877fa8 commit 4284354
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 19 deletions.
85 changes: 83 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "vitest",
"test": "jest",
"dev": "next dev ./client",
"build": "next build ./client",
"export": "NODE_ENV=production next build ./client",
Expand Down Expand Up @@ -43,8 +43,7 @@
"sass": "^1.38.0",
"tailwindcss": "^3.0.15",
"too": "^3.0.1",
"typescript": "^4.3.5",
"vitest": "^2.1.5"
"typescript": "^4.3.5"
},
"dependencies": {
"@headlessui/react": "^1.4.0",
Expand Down
29 changes: 15 additions & 14 deletions too.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,27 @@ env:
variable:
DATE:
use: bash
value: $(date '+%Y-%m%d-%H%M%S')
# value: $(date '+%Y-%m%d-%H%M%S')
value: echo 2024-1113-183041
collect: stdout

prep:
steps:
- name: devdataのディレクトリをつくっておく
run: mkdir -p ./devdata
- name: Datastore から Google Cloud Storage に、実データをエクスポート
run: |
gcloud datastore export \
gs://${PROJECT_ID}.appspot.com/datastore-export/${DATE} \
--project=${PROJECT_ID}
- name: ねんのために5秒待つ
run: sleep 5
- name: Google Cloud Storage からデータをダウンロード
run: |
gcloud storage cp -r \
gs://${PROJECT_ID}.appspot.com/datastore-export/${DATE} \
./devdata \
--project=${PROJECT_ID}
# - name: Datastore から Google Cloud Storage に、実データをエクスポート
# run: |
# gcloud datastore export \
# gs://${PROJECT_ID}.appspot.com/datastore-export/${DATE} \
# --project=${PROJECT_ID}
# - name: ねんのために5秒待つ
# run: sleep 5
# - name: Google Cloud Storage からデータをダウンロード
# run: |
# gcloud storage cp -r \
# gs://${PROJECT_ID}.appspot.com/datastore-export/${DATE} \
# ./devdata \
# --project=${PROJECT_ID}

main:
jobs:
Expand Down

0 comments on commit 4284354

Please sign in to comment.