Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Aug 29, 2024
1 parent a6f1275 commit 0deaa64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish
name: CI
on:
push:
branches:
Expand All @@ -18,7 +18,7 @@ jobs:
- run: bun i --frozen-lockfile
- run: bun test
- run: bunx jsr publish --config jsr.json --dry-run
publishNPM:
npm:
runs-on: ubuntu-latest
needs: test
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -29,7 +29,7 @@ jobs:
- run: |
npm config set //registry.npmjs.org/:_authToken ${{secrets.NPM_AUTH_TOKEN}}
npm publish
publishJSR:
jsr:
runs-on: ubuntu-latest
needs: test
permissions:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# suite

[![NPM Version](https://img.shields.io/npm/v/@benmerckx/suite)](https://www.npmjs.com/package/@benmerckx/suite)
[![JSR](https://jsr.io/badges/@benmerckx/suite)](https://jsr.io/@benmerckx/suite)
[![NPM Version](https://img.shields.io/npm/v/@alinea/suite)](https://www.npmjs.com/package/@alinea/suite)
[![JSR](https://jsr.io/badges/@alinea/suite)](https://jsr.io/@alinea/suite)

Describe tests that run in the native test runners of Node.js, Deno and Bun.

## example

````ts
// example.test.js
import {suite} from '@benmerckx/suite'
import {suite} from '@alinea/suite'

suite(import.meta, test => {
test('is', () => {
Expand Down

0 comments on commit 0deaa64

Please sign in to comment.