From fa85d29c15199449aa9789c0db10720661ac46b8 Mon Sep 17 00:00:00 2001 From: na-trium-144 <100704180+na-trium-144@users.noreply.github.com> Date: Sun, 3 Aug 2025 18:00:16 +0900 Subject: [PATCH 1/2] =?UTF-8?q?ci=E3=81=AE=E5=8B=95=E4=BD=9C=E7=A2=BA?= =?UTF-8?q?=E8=AA=8D=E7=94=A8=E3=81=AB=E9=81=A9=E5=BD=93=E3=81=ABpush?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c6f89ae..c4207fe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # my.code(); +https://my-code.utcode.net + ## インストール ```bash npm ci From 6224594a9b05e0d536761de9a378eb92626ad51b Mon Sep 17 00:00:00 2001 From: na-trium-144 <100704180+na-trium-144@users.noreply.github.com> Date: Sun, 3 Aug 2025 18:07:21 +0900 Subject: [PATCH 2/2] =?UTF-8?q?PR=E4=BD=9C=E6=88=90=E6=99=82=E3=81=AEci?= =?UTF-8?q?=E3=81=A8=E3=81=97=E3=81=A6lint=E3=81=A8type=E3=83=81=E3=82=A7?= =?UTF-8?q?=E3=83=83=E3=82=AF=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 34 ++++++++++++++++++++++++++++++++++ package.json | 1 + 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..caa07b8 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,34 @@ +name: Node.js CI +on: + pull_request: + branches: [ "main" ] +permissions: + contents: read +jobs: + lint: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [22.x] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run lint + + types: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [22.x] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run tsc diff --git a/package.json b/package.json index 19d0a9d..522e949 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "build": "npm run cf-typegen && next build", "start": "next start", "lint": "npm run cf-typegen && next lint", + "tsc": "npm run cf-typegen && tsc", "format": "prettier --write app/", "cf-preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview", "cf-deploy": "opennextjs-cloudflare build && opennextjs-cloudflare deploy",