-
Notifications
You must be signed in to change notification settings - Fork 46
42 lines (34 loc) · 894 Bytes
/
verify.yml
File metadata and controls
42 lines (34 loc) · 894 Bytes
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
name: Verify PR
on: pull_request
jobs:
verify:
name: Verify (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Clone Repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Node version
uses: actions/setup-node@v6
with:
scope: '@vscode-elements'
node-version: 24
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: |
package-lock.json
- name: Install dependencies
run: npm ci
- name: Transpile files
run: npm run build:ts
- name: ESLint
run: npm run lint
- name: Prettier
run: npm run prettier
- name: Test
run: npm run test