Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

chore(deps): update dependency node to v20 #55

chore(deps): update dependency node to v20

chore(deps): update dependency node to v20 #55

name: Format and Lint with bun
on:
pull_request:
types: [opened, synchronize]
jobs:
format_and_lint:
name: Format and Lint Code with bun
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Cache
uses: actions/cache@v3
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lockb') }}
restore-keys: ${{ runner.os }}-bun-
- name: Install Dependencies
run: bun install
- name: Format Code
run: bun format
- name: Lint Code
run: bun lint-run