Skip to content

Commit

Permalink
ci(.github): 깃허브 액션을 통한 테스트 자동화
Browse files Browse the repository at this point in the history
  • Loading branch information
SEOKKAMONI committed Nov 27, 2023
1 parent f4aaa88 commit f064700
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ci

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
quality:
name: Check quality
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.10

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
node-version-file: '.nvmrc'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run Jest tests
run: pnpm test:jest

0 comments on commit f064700

Please sign in to comment.