Skip to content

Commit

Permalink
feat: ci 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
lsj0202 committed Aug 8, 2024
1 parent c6ec5f3 commit 55614a7
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
push:
branches: ['main']
pull_request:
types: [opened, synchronize]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Set up shell
run: |
sudo ln -sf /bin/bash /bin/sh
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Install dependencies
run: npm install -g pnpm

- name: Check npm version
run: npm --version

- name: Check pnpm version
run: pnpm --version

- name: Install project dependencies
run: pnpm install

- name: Build
run: pnpm run build

0 comments on commit 55614a7

Please sign in to comment.