From c1a21180a05416d72dc025ab5d94d52d4c8a13c2 Mon Sep 17 00:00:00 2001 From: Masayuki Otawara Date: Mon, 20 Oct 2025 17:33:12 +0900 Subject: [PATCH 1/3] chore(ci): add reusable CI via cursor-workflows@v1 --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3895162 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI +on: + push: + branches: ["**"] + pull_request: {} + workflow_dispatch: {} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + ci: + uses: /cursor-workflows/.github/workflows/cursor-ci.yml@v1 + with: + node-version: '20' + run-tests: 'npm test --if-present' + run-build: 'npm run build --if-present' + working-directory: '.' + secrets: + CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }} # Cursor CLI使用時のみ + + From a9b3851b6474099c33d427b04692095c8d69bb64 Mon Sep 17 00:00:00 2001 From: Masayuki Otawara Date: Mon, 20 Oct 2025 17:34:31 +0900 Subject: [PATCH 2/3] chore(ci): point reusable CI to cursorvers/cursor-workflows@v1 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3895162..8fc3a17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ concurrency: cancel-in-progress: true jobs: ci: - uses: /cursor-workflows/.github/workflows/cursor-ci.yml@v1 + uses: cursorvers/cursor-workflows/.github/workflows/cursor-ci.yml@v1 with: node-version: '20' run-tests: 'npm test --if-present' From 9b5edf6a633fa6918206750413d2680037c67197 Mon Sep 17 00:00:00 2001 From: Masayuki Otawara Date: Mon, 20 Oct 2025 18:34:14 +0900 Subject: [PATCH 3/3] chore(ci): switch to cursorvers/cursor-macmini-workflows@v1 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fc3a17..6646508 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ concurrency: cancel-in-progress: true jobs: ci: - uses: cursorvers/cursor-workflows/.github/workflows/cursor-ci.yml@v1 + uses: cursorvers/cursor-macmini-workflows/.github/workflows/cursor-ci.yml@v1 with: node-version: '20' run-tests: 'npm test --if-present'