Skip to content

Commit

Permalink
chore: github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jeamxn committed Jan 27, 2025
1 parent 585127f commit d66aeb7
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 5 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
- '**'
name: build
jobs:
build:
name: build
dipull:
name: build-dipull
runs-on: ubuntu-latest

strategy:
Expand All @@ -22,5 +22,27 @@ jobs:
run: |
curl -fsSL https://bun.sh/install | bash
export PATH=$HOME/.bun/bin:$PATH # Bun 설치 후 경로 설정
cd dipull
bun install
bun run build
dipull-auth:
name: build-dipull-auth
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.13.1]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install bun and Build Test
run: |
curl -fsSL https://bun.sh/install | bash
export PATH=$HOME/.bun/bin:$PATH # Bun 설치 후 경로 설정
cd dipull-auth
bun install
bun run build
28 changes: 25 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
- '**'
name: lint
jobs:
lint:
name: lint
lint-dipull:
name: lint-dipull
runs-on: ubuntu-latest

strategy:
Expand All @@ -22,5 +22,27 @@ jobs:
run: |
curl -fsSL https://bun.sh/install | bash
export PATH=$HOME/.bun/bin:$PATH # Bun 설치 후 경로 설정
cd dipull
bun install
bun run lint
bun run lint
lint-dipull-auth:
name: lint-dipull-auth
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.13.1]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install bun and Lint Test
run: |
curl -fsSL https://bun.sh/install | bash
export PATH=$HOME/.bun/bin:$PATH # Bun 설치 후 경로 설정
cd dipull-auth
bun install
bun run lint

0 comments on commit d66aeb7

Please sign in to comment.