-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (41 loc) · 1.1 KB
/
on-branch-push.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
name: Push to branch
on:
push:
branches-ignore:
- main
jobs:
build:
name: Build cy7.io
runs-on: ubuntu-20.04
env:
GATSBY_BUILD_SHA: ${{ github.sha }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.10.0
- uses: ./.github/actions/pnpm-install
- run: pnpm run build
- name: Store generated code
uses: actions/upload-artifact@v3
with:
name: generated
path: generated
build-storybook:
name: Build Storybook
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.10.0
- uses: ./.github/actions/pnpm-install
- run: pnpm exec storybook build --docs --quiet
check-frontend-code-quality:
name: Check frontend code quality
needs: build
uses: ./.github/workflows/check-frontend-code-quality.yml
check-terraform-code-quality:
name: Check Terraform code quality
uses: ./.github/workflows/check-terraform-code-quality.yml
secrets: inherit