release: 2.0.4-rc+5 #2434
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: Update .npmrc with token | |
run: | | |
sed -i 's|${TIPTAP_PRO_TOKEN}|${{ secrets.TIPTAP_PRO_TOKEN }}|g' .npmrc | |
working-directory: ./frontend | |
- name: Run npm install | |
working-directory: ./frontend | |
run: pnpm install | |
env: | |
TIPTAP_PRO_TOKEN: ${{ secrets.TIPTAP_PRO_TOKEN }} | |
- 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-maven-test: | |
runs-on: ubuntu-latest | |
container: | |
image: maven:3.8.6-jdk-8 | |
options: --user root -v ${{ github.workspace }}:/home/maven/:rw | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run build maven | |
working-directory: ./backend | |
run: mvn -Duser.home=/var/maven clean install | |
- name: Run maven test | |
working-directory: ./backend | |
run: mvn -Duser.home=/var/maven test |