Merge pull request #4997 from thematters/hotfix/update-campaign-id #5830
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: 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 |