Skip to content

Commit

Permalink
Merge pull request #14 from GDSC-Hongik/feature/CI-CD
Browse files Browse the repository at this point in the history
[Feature]: CI/CD 추가
  • Loading branch information
eugene028 authored Aug 11, 2024
2 parents 137d906 + 1b70578 commit 43250dd
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Auto Assign

on:
pull_request:
types: [opened, ready_for_review, converted_to_draft]
issues:
types: [opened]

jobs:
assign_pull_request:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: hkusu/review-assign-action@v1
with:
assignees: ${{ github.actor }}

auto_assign_issue:
runs-on: ubuntu-latest
if: github.event_name == 'issues'
permissions:
issues: write
steps:
- name: "Auto-assign issue"
uses: pozil/auto-assign-issue@v2
with:
assignees: ${{ github.actor }}
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: build

on:
push:
branches:
- main
- dev
pull_request:
types: [opened, ready_for_review, converted_to_draft]
branches:
- main
- dev

jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 20.x

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false

- name: Install dependencies
run: pnpm install

- name: Run build
run: pnpm run build

0 comments on commit 43250dd

Please sign in to comment.