Files
aerospike-gnome/.gitea/workflows/build.yaml
Lucas Oskorep 9011cd48f2
All checks were successful
Build and Test / build (push) Successful in 36s
feat: gitea pipeline fix for upload
2025-10-17 02:46:56 -04:00

48 lines
1.0 KiB
YAML

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:20
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install pnpm and TypeScript
run: npm install -g pnpm typescript@5.8.3
- name: Install just
run: |
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
- name: Install system dependencies
run: |
apt-get update
apt-get install -y libglib2.0-dev glib-networking zip
- name: Install project dependencies
run: pnpm install
- name: Run unit tests
run: just test
- name: Build and package extension
run: just build-package
- name: Upload extension package
uses: actions/upload-artifact@v3
with:
name: aerospike-extension
path: aerospike.zip
retention-days: 30