Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun #58

Merged
merged 1 commit into from
Sep 10, 2023
Merged

Bun #58

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,17 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: mskelton/setup-pnpm@v2
with:
node-version: ${{ matrix.node-version }}
- run: pnpm test
- run: pnpm ts
- uses: mskelton/setup-bun@v1
- run: bun test
- run: bun ts
release:
needs: test
runs-on: ubuntu-latest
steps:
- uses: mskelton/setup-pnpm@v2
- run: pnpm build
- run: pnpm semantic-release
- uses: mskelton/setup-bun@v1
- run: bun run build
- run: bun semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dist/
pnpm-lock.yaml
5 changes: 0 additions & 5 deletions __mocks__/isomorphic-resolve.js

This file was deleted.

Binary file added bun.lockb
Binary file not shown.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"description": "Auto-fixable sort rules for ESLint.",
"version": "0.0.0-semantically-released",
"author": "Mark Skelton",
"packageManager": "pnpm@8.7.4",
"repository": "github:mskelton/eslint-plugin-sort",
"homepage": "https://github.com/mskelton/eslint-plugin-sort#readme",
"bugs": {
Expand Down Expand Up @@ -47,9 +46,9 @@
"@types/eslint": "^8.21.1",
"@types/estree": "^1.0.0",
"@types/natural-compare": "^1.4.1",
"@types/node": "^18.15.0",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"bun-types": "^1.0.1",
"dedent": "^0.7.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
Expand Down
Loading