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
21 changes: 21 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Setup
description: Install pnpm, Node.js, and project dependencies.

runs:
using: composite
steps:
- name: Use HTTPS for GitHub git clones
Comment thread
EhabY marked this conversation as resolved.
shell: bash
# Needed for git-based deps (e.g. github:coder/coder) so pnpm can clone without SSH.
run: git config --global url."https://github.com/".insteadOf "git@github.com:"

- uses: pnpm/action-setup@v5

- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"

- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
54 changes: 12 additions & 42 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,12 @@ on:
jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v6

- uses: pnpm/action-setup@v5

- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"

- run: pnpm install
- name: Setup pnpm, Node.js, and dependencies
uses: ./.github/actions/setup

- run: pnpm typecheck

Expand All @@ -36,7 +29,7 @@ jobs:

test-unit:
name: Unit Test (Electron ${{ matrix.electron-version }})
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -46,15 +39,8 @@ jobs:

steps:
- uses: actions/checkout@v6

- uses: pnpm/action-setup@v5

- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"

- run: pnpm install
- name: Setup pnpm, Node.js, and dependencies
uses: ./.github/actions/setup

- name: Run tests with Electron ${{ matrix.electron-version }}
run: ./scripts/test-electron.sh ${{ matrix.electron-version }}
Expand All @@ -63,23 +49,16 @@ jobs:

test-integration:
name: Integration Test (VS Code ${{ matrix.vscode-version }})
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
vscode-version: ["1.106.0", "stable"]

steps:
- uses: actions/checkout@v6

- uses: pnpm/action-setup@v5

- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"

- run: pnpm install
- name: Setup pnpm, Node.js, and dependencies
uses: ./.github/actions/setup

- run: pnpm build

Expand All @@ -88,20 +67,11 @@ jobs:

package:
name: Package
runs-on: ubuntu-22.04
needs: [lint, test-unit, test-integration]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6

- uses: pnpm/action-setup@v5

- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"

- name: Install dependencies
run: pnpm install
- name: Setup pnpm, Node.js, and dependencies
uses: ./.github/actions/setup

- name: Get version from package.json
id: version
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Coder Remote

[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/coder.coder-remote?label=Visual%20Studio%20Marketplace&color=%233fba11)](https://marketplace.visualstudio.com/items?itemName=coder.coder-remote)
[![Visual Studio Marketplace](https://vsmarketplacebadges.dev/version/coder.coder-remote.svg)](https://marketplace.visualstudio.com/items?itemName=coder.coder-remote)
Comment thread
EhabY marked this conversation as resolved.
[![Open VSX Version](https://img.shields.io/open-vsx/v/coder/coder-remote)](https://open-vsx.org/extension/coder/coder-remote)
[!["Join us on
Discord"](https://badgen.net/discord/online-members/coder)](https://coder.com/chat?utm_source=github.com/coder/vscode-coder&utm_medium=github&utm_campaign=readme.md)
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -596,17 +596,17 @@
"openpgp": "^6.3.0",
"pretty-bytes": "^7.1.0",
"proper-lockfile": "^4.1.2",
"proxy-agent": "^7.0.0",
"proxy-agent": "^8.0.1",
"semver": "^7.7.4",
"strip-ansi": "^7.2.0",
"ua-parser-js": "^1.0.41",
"ws": "^8.20.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^3.0.0",
"@eslint-react/eslint-plugin": "^4.2.3",
"@eslint/js": "^10.0.1",
"@eslint/markdown": "^7.5.1",
"@eslint/markdown": "^8.0.1",
"@rolldown/plugin-babel": "catalog:",
"@tanstack/react-query": "catalog:",
"@testing-library/jest-dom": "^6.9.1",
Expand All @@ -621,13 +621,13 @@
"@types/ua-parser-js": "0.7.39",
"@types/vscode": "1.106.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"@typescript-eslint/eslint-plugin": "^8.58.2",
"@typescript-eslint/parser": "^8.58.2",
"@vitejs/plugin-react": "catalog:",
"@vitest/coverage-v8": "^4.1.3",
"@vitest/coverage-v8": "^4.1.4",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"@vscode/vsce": "^3.9.1",
"babel-plugin-react-compiler": "catalog:",
"bufferutil": "^4.1.0",
"coder": "catalog:",
Expand All @@ -636,23 +636,23 @@
"dayjs": "^1.11.20",
"electron": "39.8.5",
"esbuild": "^0.28.0",
"eslint": "^10.2.0",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-package-json": "^0.91.1",
"globals": "^17.4.0",
"globals": "^17.5.0",
"jsdom": "^29.0.2",
"jsonc-eslint-parser": "^3.1.0",
"memfs": "^4.57.1",
"prettier": "^3.8.1",
"memfs": "^4.57.2",
"prettier": "^3.8.3",
"react": "catalog:",
"react-dom": "catalog:",
"typescript": "catalog:",
"typescript-eslint": "^8.58.0",
"typescript-eslint": "^8.58.2",
"utf-8-validate": "^6.0.6",
"vite": "catalog:",
"vitest": "^4.1.3"
"vitest": "^4.1.4"
},
"extensionPack": [
"ms-vscode-remote.remote-ssh"
Expand Down
Loading