From 2a197729f85b028e879fa99320bce7ecdb2f93b3 Mon Sep 17 00:00:00 2001 From: dicenull Date: Sun, 1 Sep 2024 17:00:58 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=92=9A=20GitHub=20Actions=E3=81=A7?= =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=99=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a92f638 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: ci + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: denoland/setup-deno@main + with: + deno-version: "1.39.1" + - name: Run fmt + run: | + deno fmt --check + - name: Run lint + run: | + deno lint + - name: Run tests + run: | + deno test -A ./tests From 13a56afde9e07d100e400e1adc898ccc8ef35ce9 Mon Sep 17 00:00:00 2001 From: dicenull Date: Sun, 1 Sep 2024 17:04:25 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=8E=A8=20deno=20fmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/daily_result/submit.js | 1 - 1 file changed, 1 deletion(-) diff --git a/public/daily_result/submit.js b/public/daily_result/submit.js index 1eb80d4..1a97d34 100644 --- a/public/daily_result/submit.js +++ b/public/daily_result/submit.js @@ -1,4 +1,3 @@ - window.onload = async (event) => { const current_user_profile = await JSON.parse( localStorage.getItem("current_user"), From e30b5fb5323e0d169086a8be5a63eea033d84df4 Mon Sep 17 00:00:00 2001 From: dicenull Date: Sun, 1 Sep 2024 17:41:56 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=92=9A=20=E3=83=87=E3=83=A2=E3=83=86?= =?UTF-8?q?=E3=82=B9=E3=83=88=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/distilled_user_test.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/distilled_user_test.js diff --git a/tests/distilled_user_test.js b/tests/distilled_user_test.js new file mode 100644 index 0000000..6ea5084 --- /dev/null +++ b/tests/distilled_user_test.js @@ -0,0 +1,5 @@ +import { assertEquals } from "https://deno.land/std@0.224.0/assert/mod.ts"; + +Deno.test("デモテスト", () => { + assertEquals(1 + 1, 2); +});