From 5ed98d21f772c96dd0ce58a42fe41238b519ba11 Mon Sep 17 00:00:00 2001 From: wrnrlr Date: Thu, 10 Oct 2024 11:40:33 +0200 Subject: [PATCH] allow slow types in release --- .github/workflows/publish.yml | 4 ++-- deno.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2c604f2..be485c7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: Publish on: push: branches: - - main + - release jobs: publish: @@ -13,4 +13,4 @@ jobs: id-token: write # The OIDC ID token is used for authentication with JSR. steps: - uses: actions/checkout@v4 - - run: npx jsr publish + - run: deno task release diff --git a/deno.json b/deno.json index 6bc409e..aa99c6d 100644 --- a/deno.json +++ b/deno.json @@ -20,7 +20,7 @@ "test": "deno test -A --unstable-sloppy-imports ./test/*.[jt]s", "docs": "deno run -A npm:typedoc", "build": "deno run -A npm:typedoc && deno run -A npm:vite@^5.4.2 build", - "release": "deno publish && npm publish --access public", + "release": "deno publish --allow-slow-types --allow-dirty && npm publish --access public", "clean": "rm -rf node_modules/ dist/" } }