-
-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (34 loc) · 817 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Tests
on:
push:
branches: master
pull_request:
branches: master
env:
NODE_VERSION: 20
jobs:
test:
name: Extension Tests
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: NPM Install
run: |
npm ci
npm ls --depth=0
- name: Build
run: npm run compile
- name: Compile node tests
run: npm run compile-tests
# - name: Compile web tests
# run: npm run compile-tests-web
- name: Vscode test
run: npm run test
# - name: Compile web tests
# run: npm run test-web