Skip to content

feat: ✨ add new writing #166

feat: ✨ add new writing

feat: ✨ add new writing #166

Workflow file for this run

name: CI
on:
- pull_request
env:
ENABLE_BUILD_CONTENTS: "false"
REACTION_SYSTEM_SYNC_KEY: "dummy-key"
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID: "dummy-ga-id"
NEXT_PUBLIC_REACTION_SYSTEM_URL: ${{ vars.NEXT_PUBLIC_REACTION_SYSTEM_URL }}
NEXT_PUBLIC_REACTION_SYSTEM_API_KEY: ${{ vars.NEXT_PUBLIC_REACTION_SYSTEM_API_KEY }}
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js and Pnpm
uses: ./.github/actions/setup-node-and-pnpm
- name: Run Lint
run: pnpm lint
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js and Pnpm
uses: ./.github/actions/setup-node-and-pnpm
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
- name: Run unit test
run: pnpm test
build-check:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js and Pnpm
uses: ./.github/actions/setup-node-and-pnpm
- name: Run Build
run: pnpm build