2025-03-26 19:46:19 -03:00
|
|
|
name: GBCI
|
2025-03-26 21:29:00 -03:00
|
|
|
run: git config --global http.sslVerify false
|
2025-03-26 19:46:19 -03:00
|
|
|
on:
|
|
|
|
push:
|
2025-03-26 20:34:11 -03:00
|
|
|
branches: [ "main" ]
|
2025-03-26 19:46:19 -03:00
|
|
|
pull_request:
|
2025-03-26 20:34:11 -03:00
|
|
|
branches: [ "main" ]
|
2025-03-26 19:46:19 -03:00
|
|
|
|
|
|
|
jobs:
|
2025-03-26 20:34:11 -03:00
|
|
|
build:
|
2025-03-26 19:50:42 -03:00
|
|
|
runs-on: gbo
|
2025-03-26 20:34:11 -03:00
|
|
|
|
2025-03-26 19:46:19 -03:00
|
|
|
steps:
|
2025-03-26 21:43:49 -03:00
|
|
|
|
2025-03-26 21:36:37 -03:00
|
|
|
- name: Disable SSL verification (temporary)
|
|
|
|
run: git config --global http.sslVerify false
|
2025-03-26 21:43:49 -03:00
|
|
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
2025-03-26 19:46:19 -03:00
|
|
|
- name: Setup Node.js
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
with:
|
2025-03-26 20:34:11 -03:00
|
|
|
node-version: '20'
|
|
|
|
cache: 'npm'
|
2025-03-26 20:29:33 -03:00
|
|
|
|
2025-03-26 21:29:00 -03:00
|
|
|
- name: Install dependencies
|
|
|
|
run: npm ci
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
run: npm test
|
|
|
|
|
|
|
|
- name: Build project
|
2025-03-26 22:36:40 -03:00
|
|
|
run: npm run build --if-present
|