forked from UI5/plugins-claude
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 692 Bytes
/
ci.yml
File metadata and controls
34 lines (28 loc) · 692 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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
name: General checks
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
- name: Use Node.js 22
uses: actions/setup-node@v6
with:
node-version: 22
- name: Install dependencies
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
- name: Perform Prettier check
run: npm run prettier:check
- name: Perform Licenses check
run: npm run check-licenses
- name: Perform dependency check
run: npm run knip