refactor: remove unused #2844
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 Unit | |
on: push | |
jobs: | |
unit: | |
timeout-minutes: 60 | |
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: Compile i18n | |
run: | | |
npm run i18n | |
- name: Run unit tests | |
run: cp .env.dev .env.local && npm run test:unit |