-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (28 loc) · 734 Bytes
/
Copy pathci.yml
File metadata and controls
37 lines (28 loc) · 734 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
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: debian:testing
steps:
- name: Install dependencies
run: |
apt-get update
apt-get install -y git golang-go nodejs npm
- name: Checkout code
uses: actions/checkout@v4
- name: Mark checkout directory as safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Run build script
run: ./build.sh
- name: Run Go tests
run: go test ./...
- name: Run Frontend tests
run: cd frontend_app && npm test