File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change 9
9
- ' release-*'
10
10
11
11
env :
12
- NODE_VERSION : 18.17.1
12
+ NODE_VERSION : ' 20.18.0'
13
+ # Force a path with spaces and to test extension works in these scenarios
14
+ # Unicode characters are causing 2.7 failures so skip that for now.
15
+ special-working-directory : ' ./path with spaces'
16
+ special-working-directory-relative : ' path with spaces'
13
17
14
18
jobs :
15
19
build-vsix :
23
27
- name : Build VSIX
24
28
uses : ./.github/actions/build-vsix
25
29
with :
26
- node_version : ${{ env.NODE_VERSION }}
30
+ node_version : ${{ env.NODE_VERSION }}
31
+
32
+ ts-unit-tests :
33
+ name : TypeScript Unit Tests
34
+ runs-on : ${{ matrix.os }}
35
+ strategy :
36
+ fail-fast : false
37
+ matrix :
38
+ os : [ubuntu-latest, windows-latest]
39
+
40
+ steps :
41
+ - name : Checkout
42
+ uses : actions/checkout@v4
43
+
44
+ - name : Install Node
45
+ uses : actions/setup-node@v4
46
+ with :
47
+ node-version : ${{ env.NODE_VERSION }}
48
+ cache : ' npm'
49
+ cache-dependency-path : ${{ env.special-working-directory-relative }}/package-lock.json
50
+
51
+ - name : Install Dependencies
52
+ run : npm ci
53
+
54
+ - name : Compile Tests
55
+ run : npm run pretest
56
+
57
+ - name : Run Tests
58
+ run : npm run unittest
You can’t perform that action at this time.
0 commit comments