From 59967c2558499521cb00e285be4ed64022b0feff Mon Sep 17 00:00:00 2001 From: Hexagon Date: Mon, 28 Oct 2024 23:48:20 +0100 Subject: [PATCH] Chore: Update deps and workflows --- .github/workflows/pages.yml | 2 +- .github/workflows/test.yml | 4 ++-- deno.json | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 79ffbec..a0c7702 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -34,7 +34,7 @@ jobs: uses: actions/configure-pages@v3 - name: Install Deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 with: deno-version: "v2.0.2" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a58273..f6ea604 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: Cross Runtime Tests on: push: - branches: [main, dev, dev-9.0] + branches: [main, dev] pull_request: - branches: [main, dev, dev-9.0] + branches: [main, dev] jobs: deno_ci: diff --git a/deno.json b/deno.json index 8d82ad9..2384b7c 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@hexagon/croner", - "version": "9.0.1-dev.0", + "version": "9.0.1-dev.1", "exports": "./src/croner.ts", "lint": { "include": ["src", "build"] @@ -11,19 +11,19 @@ }, "tasks": { "pre-commit": "deno fmt --check && deno lint && deno check src/croner.ts", - "test": "deno task build:clean && deno test --allow-read", - "build:prep": "deno cache --allow-scripts=npm:esbuild build/build.ts", + "test": "deno task build:prep && deno test --allow-read", + "build:prep": "deno install", "build:clean": "deno run --allow-read --allow-write --allow-env build/build.ts -- clean", "build:npm": "deno run --allow-read --allow-write --allow-env build/build.ts -- package", "build:esbuild": "deno run --allow-read --allow-write --allow-env --allow-run build/build.ts -- build", - "build": "deno task build:clean && deno task test && deno task build:prep && deno task build:esbuild && deno task build:npm", + "build": "deno task build:clean && deno task build:prep && deno test --allow-read && deno task build:esbuild && deno task build:npm", "check-deps": "deno run -A jsr:@check/deps" }, "imports": { "@cross/fs": "jsr:@cross/fs@~0.1.11", "@cross/test": "jsr:@cross/test@~0.0.9", "@std/assert": "jsr:@std/assert@~1.0.6", - "@std/path": "jsr:@std/path@~1.0.6", + "@std/path": "jsr:@std/path@~1.0.7", "esbuild": "npm:esbuild@~0.24.0", "esbuild-plugin-d.ts": "npm:esbuild-plugin-d.ts@~1.3.1" },