Skip to content

Merge pull request #5003 from thematters/develop #5853

Merge pull request #5003 from thematters/develop

Merge pull request #5003 from thematters/develop #5853

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@v4
with:
node-version: '18'
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