Skip to content

Commit e88ce56

Browse files
committed
add test
1 parent 27b56f0 commit e88ce56

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
validate:
1111
runs-on: ubuntu-latest
12-
1312
steps:
1413
- name: Checkout code
1514
uses: actions/checkout@v4
@@ -25,3 +24,22 @@ jobs:
2524
run: npm run test
2625
- name: Run packaging smoke test
2726
run: npx @vscode/vsce package
27+
28+
old-version-support:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Install Git 2.25.1
32+
run: |
33+
echo "deb http://archive.ubuntu.com/ubuntu focal-updates main universe" | sudo tee /etc/apt/sources.list.d/focal.list
34+
sudo apt-get update
35+
sudo apt-get install --allow-downgrades -y git=1:2.25.1-1ubuntu3.13 git-man=1:2.25.1-1ubuntu3.13
36+
- name: Checkout code
37+
uses: actions/checkout@v4
38+
- name: Set up Node.js
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: '20'
42+
- name: Install dependencies
43+
run: npm ci
44+
- name: Run unit tests
45+
run: npm run test

0 commit comments

Comments
 (0)