Skip to content

feat(article): prefer to fetch article detail data by articleId inste… #2710

feat(article): prefer to fetch article detail data by articleId inste…

feat(article): prefer to fetch article detail data by articleId inste… #2710

Workflow file for this run

name: Test Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16.14'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Generate Types (Develop)
if: github.base_ref != 'master'
run: npm run gen:type
- name: Generate Types (production)
if: github.base_ref == 'master'
run: npm run gen:type:prod
- name: Lint
run: |
npm run i18n \
&& npm run lint \
&& npm run format:check
- name: Build
run: cp .env.dev .env.local && npm run build