Skip to content

Commit

Permalink
publish to jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jun 17, 2024
1 parent d6116c3 commit c6c77ab
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,16 @@ jobs:
run: fluentci run --wasm codecov upload
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
publish:
needs: tests
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.41
- name: Publish package
run: deno publish --allow-slow-types
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

[![fluentci pipeline](https://img.shields.io/badge/dynamic/json?label=pkg.fluentci.io&labelColor=%23000&color=%23460cf1&url=https%3A%2F%2Fapi.fluentci.io%2Fv1%2Fpipeline%2Fdjango_pipeline&query=%24.version)](https://pkg.fluentci.io/django_pipeline)
[![deno module](https://shield.deno.dev/x/django_pipeline)](https://deno.land/x/django_pipeline)
![deno compatibility](https://shield.deno.dev/deno/^1.34)
![deno compatibility](https://shield.deno.dev/deno/^1.42)
[![](https://jsr.io/badges/@fluentci/django)](https://jsr.io/@fluentci/django)
[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/django-pipeline)](https://codecov.io/gh/fluent-ci-templates/django-pipeline)

A ready-to-use CI/CD Pipeline for your Django projects.
Expand Down Expand Up @@ -54,7 +55,7 @@ djangoTests(
You can also use this pipeline programmatically:

```ts
import { djangoTests } from "https://pkg.fluentci.io/[email protected]/mod.ts";
import { djangoTests } from "jsr:@fluentci/django";

await djangoTests();

Expand Down
3 changes: 3 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"name": "@fluentci/django",
"version": "0.9.0",
"exports": "./mod.ts",
"importMap": "import_map.json",
"tasks": {
"esm:add": "deno run -A https://esm.sh/v128 add",
Expand Down

0 comments on commit c6c77ab

Please sign in to comment.