mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-08 21:05:21 +00:00
28 lines
835 B
YAML
28 lines
835 B
YAML
name: build
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- name: Install Go
|
|
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
|
with:
|
|
go-version-file: '.go-version'
|
|
- name: Install node
|
|
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
with:
|
|
node-version: '24'
|
|
cache: 'npm'
|
|
cache-dependency-path: './web/package-lock.json'
|
|
- name: Install dependencies
|
|
run: make build-deps-ubuntu
|
|
- name: Build all the things
|
|
run: make build
|
|
- name: Print build results and checksums
|
|
run: make cli-build-results
|