From 96f4d14b5bf93c4a09c8a2c3647c605859de6237 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Sun, 25 Dec 2022 17:00:36 +0900 Subject: [PATCH 1/5] =?UTF-8?q?Add:=20node=5Fmodules=E3=82=92=E3=82=AD?= =?UTF-8?q?=E3=83=A3=E3=83=83=E3=82=B7=E3=83=A5=E3=81=99=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0f098bdaff..54e3d41d51 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: push: pull_request: branches: - - '**' + - "**" workflow_dispatch: jobs: @@ -46,7 +46,16 @@ jobs: restore-keys: | ${{ env.cache-version }}-${{ runner.os }}--electron-builder-cache- + - name: Cache node_modules + uses: actions/cache@v3 + id: cache-node-modules + with: + path: node_modules + key: ${{ env.cache-version }}-${{ runner.os }}--node-modules-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ env.cache-version }}-${{ runner.os }}--node-modules- - run: npm ci + if: steps.cache-node-modules.outputs.cache-hit != 'true' - run: npm run typecheck - run: npm run lint - run: npm run markdownlint From 5b2d64c984bee519d18ae67e2a05d1cdfff289c0 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Sun, 25 Dec 2022 17:08:01 +0900 Subject: [PATCH 2/5] =?UTF-8?q?Change:=20ci=E3=81=A7=E3=81=AF=E3=81=AA?= =?UTF-8?q?=E3=81=8Fi=E3=82=92=E4=BD=BF=E3=81=86=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/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54e3d41d51..8812db2b57 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,7 +54,7 @@ jobs: key: ${{ env.cache-version }}-${{ runner.os }}--node-modules-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ env.cache-version }}-${{ runner.os }}--node-modules- - - run: npm ci + - run: npm i if: steps.cache-node-modules.outputs.cache-hit != 'true' - run: npm run typecheck - run: npm run lint From f4b3e23cb3f04b1b5509eea8891b4b58380d71e0 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Sun, 25 Dec 2022 17:10:50 +0900 Subject: [PATCH 3/5] =?UTF-8?q?=EF=BC=88=E3=83=86=E3=82=B9=E3=83=88?= =?UTF-8?q?=E7=94=A8=E3=81=AE=E7=A9=BA=E3=82=B3=E3=83=9F=E3=83=83=E3=83=88?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From dddc3d5d4fc4308cce82e0bbcb1f73a6e559ee6d Mon Sep 17 00:00:00 2001 From: Nanashi Date: Sun, 25 Dec 2022 18:08:34 +0900 Subject: [PATCH 4/5] =?UTF-8?q?Add:=20lock=E3=81=8C=E5=A4=89=E3=82=8F?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E3=82=89ci=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8812db2b57..4784dda5e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,8 +54,11 @@ jobs: key: ${{ env.cache-version }}-${{ runner.os }}--node-modules-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ env.cache-version }}-${{ runner.os }}--node-modules- + - run: cp package-lock.json package-lock.json.bak - run: npm i if: steps.cache-node-modules.outputs.cache-hit != 'true' + - run: npm ci + if: hashFiles('package-lock.json') != hashFiles('package-lock.json.bak') - run: npm run typecheck - run: npm run lint - run: npm run markdownlint From bf966d6db0c2b953c37e55c75c6d62af77800612 Mon Sep 17 00:00:00 2001 From: Nanashi Date: Sun, 8 Jan 2023 15:42:48 +0900 Subject: [PATCH 5/5] =?UTF-8?q?Fix:=20=E3=83=AD=E3=82=B8=E3=83=83=E3=82=AF?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4784dda5e7..54e3d41d51 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,11 +54,8 @@ jobs: key: ${{ env.cache-version }}-${{ runner.os }}--node-modules-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ env.cache-version }}-${{ runner.os }}--node-modules- - - run: cp package-lock.json package-lock.json.bak - - run: npm i - if: steps.cache-node-modules.outputs.cache-hit != 'true' - run: npm ci - if: hashFiles('package-lock.json') != hashFiles('package-lock.json.bak') + if: steps.cache-node-modules.outputs.cache-hit != 'true' - run: npm run typecheck - run: npm run lint - run: npm run markdownlint