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",