Skip to content

Commit

Permalink
Merge pull request #24 from TariqSaiyad/bugfix/get-index-fix
Browse files Browse the repository at this point in the history
Bugfix/get index fix
  • Loading branch information
TariqSaiyad committed Mar 22, 2024
2 parents faddca2 + f1ee2b7 commit 8ebf1d0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2,529 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "pnpm"

- run: pnpm install --frozen-lockfile
- run: pnpm run lint && pnpm run build
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install --frozen-lockfile
- run: bun run lint && bun run build
14 changes: 4 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,15 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "pnpm"
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1

- run: pnpm install --frozen-lockfile
- run: bun install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
publish: bun run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Binary file added bun.lockb
Binary file not shown.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"types": "src/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts",
"release": "pnpm run build && changeset publish",
"release": "bun run build && changeset publish",
"lint": "tsc"
},
"repository": {
Expand All @@ -39,10 +39,10 @@
"qs": "^6.11.2"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@types/node": "^20.3.0",
"@types/qs": "^6.9.7",
"tsup": "^7.0.0",
"typescript": "^5.1.3"
"@changesets/cli": "^2.27.1",
"@types/node": "^20.11.30",
"@types/qs": "^6.9.14",
"tsup": "^8.0.2",
"typescript": "^5.4.3"
}
}

0 comments on commit 8ebf1d0

Please sign in to comment.