From b03bd7035f5523ef6579e97c313e49c23ba30733 Mon Sep 17 00:00:00 2001 From: Robin Date: Sat, 8 Nov 2025 09:45:38 -0600 Subject: [PATCH 1/4] use node v20.x --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..0317576 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20.19.5 From e0aa8ffe2e4843c8b5c0aeefeaf96b3b54ea167f Mon Sep 17 00:00:00 2001 From: Robin Date: Sat, 8 Nov 2025 09:45:52 -0600 Subject: [PATCH 2/4] initial publish workflow --- .github/workflows/publish.yaml | 62 ++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..81d9394 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,62 @@ +name: Publish Extension + +on: + push: + tags: + - "*" + +jobs: + test: + strategy: + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: yarn + - name: Install dependencies + run: yarn install --frozen-lockfile + - name: Build extension + run: yarn compile + - name: Install PlaydateSDK (macOS) + run: ./scripts/installSDKMacOS.sh + if: runner.os == 'macOS' + - name: Install PlaydateSDK (Linux) + run: ./scripts/installSDKLinux.sh + if: runner.os == 'Linux' + - name: Run tests (Linux) + run: xvfb-run -a yarn test:ci + if: runner.os == 'Linux' + - name: Run tests + run: yarn test:ci + if: runner.os != 'Linux' + + publish: + needs: test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: yarn + - name: Install dependencies + run: yarn install --frozen-lockfile + - name: Package extension + run: npx vsce package --yarn + - name: Publish to VSCode Marketplace + run: npx vsce publish --yarn -p ${{ secrets.VSCE_PAT }} + - name: Create GitHub Release + uses: softprops/action-gh-release@v1 + with: + generate_release_notes: true + files: playdate-debug-*.vsix + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From a346169e3b63af11bfcbf2d27f9c0be3c0921340 Mon Sep 17 00:00:00 2001 From: Robin Date: Sat, 8 Nov 2025 09:46:05 -0600 Subject: [PATCH 3/4] release version 1.20.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e31ac42..38621e4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "playdate-debug", "displayName": "Playdate Debug", - "version": "1.19.0", + "version": "1.20.0", "publisher": "midouest", "description": "Unofficial Playdate debug extension for macOS, Windows and Ubuntu", "icon": "images/icon@2x.png", From 9045fec4946d104460e2c8be95a51eb2e04fed1f Mon Sep 17 00:00:00 2001 From: Robin Date: Sat, 8 Nov 2025 09:55:35 -0600 Subject: [PATCH 4/4] remove auto github release step --- .github/workflows/publish.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 81d9394..6e2beb2 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -53,10 +53,3 @@ jobs: run: npx vsce package --yarn - name: Publish to VSCode Marketplace run: npx vsce publish --yarn -p ${{ secrets.VSCE_PAT }} - - name: Create GitHub Release - uses: softprops/action-gh-release@v1 - with: - generate_release_notes: true - files: playdate-debug-*.vsix - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}