Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci-dev.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
name: Build dev

on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]

concurrency:
group: ci-dev-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-test:
name: build-and-test (dev)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v4
with:
run_install: false

- run: pnpm i
- run: pnpm build
- run: pnpm test
30 changes: 30 additions & 0 deletions .github/workflows/ci-main.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
name: Build main

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

concurrency:
group: ci-main-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-test:
name: build-and-test (main)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v4
with:
run_install: false

- run: pnpm i
- run: pnpm build
- run: pnpm test
33 changes: 0 additions & 33 deletions .github/workflows/ci.yml

This file was deleted.

5 changes: 2 additions & 3 deletions README.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
# Struct Forge

[![Build dev](https://github.com/aecoder-br/structforge/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/aecoder-br/structforge/actions/workflows/ci.yml)
[![Build main](https://github.com/aecoder-br/structforge/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aecoder-br/structforge/actions/workflows/ci.yml)
[![Build dev](https://github.com/aecoder-br/structforge/actions/workflows/ci-dev.yml/badge.svg?branch=dev)](https://github.com/aecoder-br/structforge/actions/workflows/ci-dev.yml)
[![Build main](https://github.com/aecoder-br/structforge/actions/workflows/ci-main.yml/badge.svg?branch=main)](https://github.com/aecoder-br/structforge/actions/workflows/ci-main.yml)
[![License](https://img.shields.io/github/license/aecoder-br/structforge.svg)](LICENSE)
[![Stars](https://img.shields.io/github/stars/aecoder-br/structforge.svg?style=social)](https://github.com/aecoder-br/structforge)
[![Node >=18](https://img.shields.io/badge/node-%3E%3D18-339933.svg)](https://nodejs.org/)
Expand Down