디자인 시스템 scss 모듈 적용 및 지난 아티클 검열 기능 추가 #242
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: attraction_workflow | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: build | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
command: ['build', 'type'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
cache-dependency-path: 'pnpm-lock.yaml' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run ${{ matrix.command }} | |
run: pnpm ${{ matrix.command }} | |
env: | |
MOCK_URL: ${{ secrets.MOCK_URL }} | |
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | |
NEXT_PUBLIC_FE_URL: ${{ secrets.NEXT_PUBLIC_FE_URL }} | |
NEXT_PUBLIC_SERVER_URL: ${{ secrets.NEXT_PUBLIC_SERVER_URL }} | |
NEXT_PUBLIC_OAUTH_URL: ${{ secrets.NEXT_PUBLIC_OAUTH_URL }} | |
NEXT_PUBLIC_S3_BUCKET_URL: ${{ secrets.NEXT_PUBLIC_S3_BUCKET_URL }} | |
notification: | |
name: Notification | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
needs: [build] | |
steps: | |
- uses: martialonline/workflow-status@v3 | |
id: check | |
- name: action-slack | |
uses: 8398a7/action-slack@v3 | |
with: | |
job_name: build | |
status: ${{ steps.check.outputs.status }} | |
author_name: Github Action Bot | |
fields: repo,message,commit,author,action,pullRequest,workflow | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
if: always() |