-
-
Notifications
You must be signed in to change notification settings - Fork 22
44 lines (34 loc) · 813 Bytes
/
test.yml
File metadata and controls
44 lines (34 loc) · 813 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
43
44
name: Test
on:
push:
branches:
- 'develop'
pull_request:
branches:
- 'develop'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: 24
- name: Install Dependencies
run: npm ci
- name: Prettier
run: npm run test:format
- name: ESLint
run: npm run lint
- name: Build
run: npm run build --if-present
- name: Test
run: npm run test
env:
CI: true
LRS_CREDENTIALS_ARRAY: ${{ secrets.LRS_CREDENTIALS_ARRAY }}
- name: Coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}