Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
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 }}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.19.5
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading