Compare commits

...

3 commits
0.6.0 ... main

Author SHA1 Message Date
JasterV
9bb15d6754 Force a CI run 2026-03-03 22:13:16 +01:00
JasterV
189616da20 feat: migrate to woodpecker 2026-03-03 22:12:19 +01:00
JasterV
9b57262f52 update README 2026-03-01 18:58:31 +01:00
5 changed files with 11 additions and 73 deletions

View file

@ -1,13 +0,0 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
allow:
- dependency-type: direct
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly

View file

@ -1,28 +0,0 @@
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
# This will always pull the most recent stable version
bun-version: latest
- name: Install dependencies
# --frozen-lockfile is the Bun equivalent of 'npm ci'
run: bun install --frozen-lockfile
- name: Test
run: bun test

View file

@ -1,31 +0,0 @@
name: Bun Package Release
on:
release:
types: [created]
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run Tests
run: bun test
- name: Publish to NPM
run: bun publish --access public
env:
NPM_CONFIG_TOKEN: ${{ secrets.npm_token }}

10
.woodpecker/ci.yml Normal file
View file

@ -0,0 +1,10 @@
when:
- event: [push, pull_request]
branch: main
steps:
test:
image: oven/bun:debian
commands:
- bun install
- bun test

View file

@ -1,6 +1,6 @@
<h1 align="center">Welcome to imgphash 👋</h1>
<p>
<img alt="Version" src="https://img.shields.io/badge/version-0.5.0-blue.svg?cacheSeconds=2592000" />
<img alt="Version" src="https://img.shields.io/badge/version-0.6.0-blue.svg?cacheSeconds=2592000" />
<a href="https://github.com/JasterV/imgphash#readme" target="_blank">
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
</a>