diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 4280668..872dc73 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -15,7 +15,9 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2.2.4 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest - name: Setup Node.js environment uses: actions/setup-node@v3 @@ -25,11 +27,11 @@ jobs: # "git restore ." discards changes to package-lock.json - name: Install dependencies run: | - pnpm install --no-frozen-lockfile --ignore-scripts + bun install --no-frozen-lockfile --ignore-scripts git restore . - name: Format - run: pnpm run format + run: bun run format - name: Add, Commit and Push uses: stefanzweifel/git-auto-commit-action@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f31b0a3..4aff9b5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,24 +16,26 @@ jobs: with: fetch-depth: 2 - - uses: pnpm/action-setup@v2.2.4 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest - name: Setup Node.js environment uses: actions/setup-node@v3 with: node-version: 18 - cache: pnpm + cache: bun - name: Install dependencies - run: pnpm install + run: bun install - name: Build - run: pnpm run build + run: bun run build - name: Test - run: pnpm run test + run: bun run test env: CI: true - name: Lint - run: pnpm run lint + run: bun run lint