feat: implement internationalization with ngx-translate #25
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: 'yarn' | |
| - name: Enable Corepack (for Yarn) | |
| run: corepack enable | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Run lint | |
| run: | | |
| if yarn run -T lint --help > /dev/null 2>&1; then | |
| yarn lint | |
| else | |
| echo "No lint script found" | |
| fi | |
| - name: Run tests | |
| run: yarn test --watch=false | |
| - name: Build app | |
| run: yarn build --configuration production |