-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (47 loc) · 1.15 KB
/
firstmate.yaml
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
48
name: QA Pipeline
on:
pull_request:
types:
- opened
- reopened
- synchronize
env:
NODE_VERSION: '18.x' # set this to the node version to use (supports 8.x, 10.x, 12.x)
HELM_EXPERIMENTAL_OCI: 1
jobs:
nodejs:
runs-on: ubuntu-latest
name: Validate nodejs
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: '20'
- name: Install pnpm
run: npm -g install pnpm
- name: Install packages
run: pnpm install
- name: Install packages
run: pnpm lint
- name: Install packages
run: pnpm test
docker:
runs-on: ubuntu-latest
name: Validate docker
steps:
- uses: actions/checkout@v3
- name: Setup Docker buildx
uses: docker/[email protected]
with:
driver: docker
- name: docker build
run: docker build . -t "test-docker"
helm:
runs-on: ubuntu-latest
name: Validate helm
steps:
- uses: actions/checkout@v3
- name: helm lint
run: helm lint ./charts
- name: helm template
run: helm template test ./charts