Skip to content

Commit

Permalink
Use bun in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ADKaster committed Jul 4, 2024
1 parent bb33c70 commit 411605a
Showing 1 changed file with 18 additions and 23 deletions.
41 changes: 18 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
name: CI
on: pull_request
jobs:
build:
name: Lint and Build
runs-on: ubuntu-latest
strategy:
matrix:
node-env: [ 'development', 'production' ]
env:
NODE_ENV: ${{ matrix.node-env }}
steps:
- name: Checkout
uses: actions/checkout@v4
build:
name: Lint and Build
runs-on: ubuntu-latest
strategy:
matrix:
node-env: ["development", "production"]
env:
NODE_ENV: ${{ matrix.node-env }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/[email protected]
with:
node-version: 16
- name: Setup Bun
uses: oven-sh/bun@v1

- run: yarn install
- run: bun install

- run: yarn build

- run: yarn lint
if: ${{ matrix.node-env == 'development' }}

- run: yarn test
if: ${{ matrix.node-env == 'development' }}
- run: bun lint
if: ${{ matrix.node-env == 'development' }}

- run: bun test
if: ${{ matrix.node-env == 'development' }}

0 comments on commit 411605a

Please sign in to comment.