Skip to content

Commit ef979f4

Browse files
committed
Publish GHA + readme update
1 parent 4cd0fc1 commit ef979f4

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

.github/workflows/publish.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
id-token: write # The OIDC ID token is used for authentication with JSR.
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: npx jsr publish

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
# RegexPlanet Common
1+
# RegexPlanet Common [<img align="right" alt="RegexPlanet icon" height="96" src="https://www.regexplanet.com/favicon.svg" />](http://www.regexplanet.com/)
22

3-
These are files that are used by multiple RegexPlanet backends.
3+
[![publish](https://github.com/regexplanet/regexplanet-template/actions/workflows/publish.yaml/badge.svg)](https://github.com/regexplanet/regexplanet-template/actions/workflows/publish.yaml)
44

5-
These are not for you unless you are writing a TypeScript or JavaScript RegexPlanet backend.
5+
This is a TypeScript library for code that is used by RegexPlanet's TypeScript/JavaScript services.
66

7-
Publish with:
8-
```
9-
npx jsr publish
10-
```
7+
## Credits
8+
9+
[![bun](https://www.vectorlogo.zone/logos/bunsh/bunsh-ar21.svg)](https://bun.sh/ "Application Server")
10+
[![deno](https://www.vectorlogo.zone/logos/deno/deno-ar21.svg)](https://deno.com/ "Application Server")
11+
[![Git](https://www.vectorlogo.zone/logos/git-scm/git-scm-ar21.svg)](https://git-scm.com/ "Version control")
12+
[![Github](https://www.vectorlogo.zone/logos/github/github-ar21.svg)](https://github.com/ "Code hosting")
13+
[![JSR](https://www.vectorlogo.zone/logos/jsrio/jsrio-ar21.svg)](https://jsr.io/ "NPM package hosting")
14+
[![Node.js](https://www.vectorlogo.zone/logos/nodejs/nodejs-ar21.svg)](https://nodejs.org/ "Application Server")
15+
[![TypeScript](https://www.vectorlogo.zone/logos/typescriptlang/typescriptlang-ar21.svg)](https://www.typescriptlang.org/ "Programming Language")

0 commit comments

Comments
 (0)