👷 added in lefthook, commitlint, and semantic-release
Some checks failed
Build Docker Image / build-image (push) Failing after 37s
Semver / semver (push) Failing after 32s

This commit is contained in:
Rose 2024-10-16 11:46:57 -05:00
parent 2e62c38ff2
commit be3058d17a
No known key found for this signature in database
7 changed files with 4601 additions and 14 deletions

View file

@ -1,13 +1,18 @@
name: Build Docker Image
on:
push:
branches: [devel]
branches:
- "**"
tags:
- "v*.*.*"
jobs:
build:
build-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker Metadata
id: metadata
uses: docker/metadata-action@v5
@ -17,6 +22,9 @@ jobs:
type=ref,event=branch
type=sha,prefix=
type=edge,branch=devel
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Docker Buildx
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
- name: Login to Docker Registry

View file

@ -0,0 +1,27 @@
name: Semver
on:
push:
branches:
- "**"
jobs:
semver:
runs-on: ubuntu-latest
container:
image: node:21-alpine
steps:
- name: Setup Node
run: |
apk add --no-cache libc6-compat
apk update
yarn set version canary
yarn config set nodeLinker node-modules
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: yarn install
run: yarn install
- name: Semver
run: yarn run semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}