From 247420ad2391e599bae34beb9ac3c72621cff3ca Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Fri, 29 May 2026 20:07:36 -0400 Subject: [PATCH] ci(luxon-hijri): corepack, scope prettier to src/, emit d.mts --- .github/workflows/ci.yml | 12 ++++++++---- package.json | 7 ++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5a3527..5743612 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,8 @@ jobs: node: [20, 22, 24] steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 + - name: Enable corepack + run: corepack enable - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -30,7 +31,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 + - name: Enable corepack + run: corepack enable - uses: actions/setup-node@v4 with: node-version: 24 @@ -44,7 +46,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 + - name: Enable corepack + run: corepack enable - uses: actions/setup-node@v4 with: node-version: 24 @@ -57,7 +60,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 + - name: Enable corepack + run: corepack enable - uses: actions/setup-node@v4 with: node-version: 24 diff --git a/package.json b/package.json index 17cf3aa..7738514 100644 --- a/package.json +++ b/package.json @@ -36,9 +36,10 @@ "test": "node --test test.mjs && node --test test-cjs.cjs", "prepublishOnly": "tsup", "lint": "eslint .", - "format": "prettier --write .", - "format:check": "prettier --check .", - "coverage": "c8 --reporter=lcov --reporter=text node --test" + "format": "prettier --write src/", + "format:check": "prettier --check src/", + "coverage": "c8 --reporter=lcov --reporter=text node --test", + "postbuild": "cp dist/index.d.ts dist/index.d.mts" }, "keywords": [ "hijri",