feat: use i18n in frontend #3
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: dev-check-repository | |
on: [push] | |
jobs: | |
build-node-test: | |
runs-on: ubuntu-latest | |
container: | |
image: opendigitaleducation/node:18-alpine-pnpm | |
options: --user root -v ${{ github.workspace }}:/home/node/:rw | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run npm install | |
working-directory: ./frontend | |
run: pnpm install | |
- name: Check Quality Code | |
working-directory: ./frontend | |
run: pnpm run format:check && pnpm run lint | |
- name: Run Build Vite | |
working-directory: ./frontend | |
run: pnpm build | |
- name: Run tests | |
working-directory: ./frontend | |
run: pnpm test | |
build-gradle-test: | |
runs-on: ubuntu-latest | |
container: | |
image: gradle:4.5-alpine | |
options: --user root -v ${{ github.workspace }}:/home/gradle/:rw | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run build gradle | |
working-directory: ./backend | |
run: gradle assemble -g gradle-user-home | |
- name: Run gradle test | |
working-directory: ./backend | |
run: gradle test -g gradle-user-home --no-build-cache --rerun-tasks |