mirror of
https://codeberg.org/JasterV/imgphash.git
synced 2026-04-26 18:10:01 +00:00
Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bb15d6754 | ||
|
|
189616da20 | ||
|
|
9b57262f52 |
5 changed files with 11 additions and 73 deletions
13
.github/dependabot.yml
vendored
13
.github/dependabot.yml
vendored
|
|
@ -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
|
||||
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
31
.github/workflows/npm-publish.yml
vendored
31
.github/workflows/npm-publish.yml
vendored
|
|
@ -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
10
.woodpecker/ci.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
when:
|
||||
- event: [push, pull_request]
|
||||
branch: main
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: oven/bun:debian
|
||||
commands:
|
||||
- bun install
|
||||
- bun test
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue