diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a9df6166..f14499fd7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,26 +13,27 @@ jobs: strategy: matrix: node-version: [16.x, 18.x, 20.x] - bun-version: [1.x] - deno-version: [1.34.x] + bun-version: [1.0.23] + deno-version: [1.42.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Use Deno ${{ matrix.deno-version }} - uses: denolib/setup-deno@v2 + uses: denoland/setup-deno@v1 with: deno-version: ${{ matrix.deno-version }} - # - name: Use Bun ${{ matrix.bun-version }} - # uses: oven-sh/setup-bun@v1 - # with: - # bun-version: ${{ matrix.bun-version }} + - name: Use Bun ${{ matrix.bun-version }} + uses: oven-sh/setup-bun@v1 + with: + bun-version: ${{ matrix.bun-version }} - name: Install dependencies run: npm ci @@ -55,8 +56,8 @@ jobs: - name: Run deno tests run: npm run test:deno - # - name: Run bun tests - # run: npm run test:bun + - name: Run bun tests + run: npm run test:bun - name: Run esbuild test run: npm run test:esbuild