Skip to content

chore: require vscode 1.85 or later #112

chore: require vscode 1.85 or later

chore: require vscode 1.85 or later #112

Workflow file for this run

name: CI
on:
push:
paths:
- '.github/workflows/**'
- 'src/**'
- 'tests/**'
- 'package.json'
- 'pnpm-lock.yaml'
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'tests/**'
- 'package.json'
- 'pnpm-lock.yaml'
workflow_dispatch:
jobs:
default:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: ['lts/*', '*']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.0.3
with:
node-version: ${{ matrix.node-version }}
- name: Enable Corepack
run: |
npm install --global corepack@latest
corepack enable
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: Lint Source
run: pnpm run --if-present lint
- name: Build Source
run: pnpm run --if-present build
- name: Run Tests
run: pnpm run --if-present test