diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d959db4..fe6e3c3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,16 +7,13 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest - strategy: - matrix: - node: [14, 16, 18] - name: Node ${{ matrix.node }} sample + name: Bun Build steps: - uses: actions/checkout@v3 - name: Run linting rules and tests - uses: actions/setup-node@v3 + uses: oven-sh/setup-bun@v1 with: - node-version: ${{ matrix.node }} - - run: npm ci - - run: npm run build + bun-version: latest + - run: bun install + - run: buh run build diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b77f43d..a6ebd61 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,8 +16,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: Run linting rules and tests - uses: actions/setup-node@v3 + uses: oven-sh/setup-bun@v1 with: - node-version: ${{ matrix.node }} - - run: npm ci - - run: npm run build + bun-version: latest + - run: bun install + - run: buh run build