-
Notifications
You must be signed in to change notification settings - Fork 14
47 lines (37 loc) · 1.07 KB
/
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
46
47
name: tests
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install --frozen-lockfile && yarn run generate
- name: Lint
run: yarn run check:cs
- name: Check TS types
run: yarn run check:types
- name: Test
run: yarn run check:tests
- name: Check Helm Chart
id: lint
uses: helm/chart-testing-action@v2.0.1
with:
command: lint
- name: Create kind cluster
uses: helm/kind-action@v1.1.0
with:
install_local_path_provisioner: true
# Only build a kind cluster if there are chart changes to test.
if: steps.lint.outputs.changed == 'true'
- name: Check Helm Install
uses: helm/chart-testing-action@v2.0.1
with:
command: install