Skip to content

Commit

Permalink
chore: checkout project
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanFl committed Jan 13, 2025
1 parent 26a660c commit 0de32b3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
unittests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Unittests
run: |
docker build -f docker/backend/unittests/django/Dockerfile -t secobserve_backend_unittests:latest .
Expand Down
49 changes: 25 additions & 24 deletions .github/workflows/check_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,35 @@ jobs:
code_quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 20
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 20

- name: Install dependencies
working-directory: ./frontend
run: |
npm ci
- name: Install dependencies
working-directory: ./frontend
run: |
npm ci
- name: Prettier
working-directory: ./frontend
run: |
npx prettier -c src
- name: Prettier
working-directory: ./frontend
run: |
npx prettier -c src
- name: ESLint
working-directory: ./frontend
run: |
npx eslint src
- name: ESLint
working-directory: ./frontend
run: |
npx eslint src
end_to_end_tests:
runs-on: ubuntu-latest
steps:
- name: End-to-end tests
working-directory: .
run: |
cd end_to_end_tests
npm install
cd ..
docker compose -f docker-compose-playwright.yml build
docker compose -f docker-compose-playwright.yml up --abort-on-container-exit --exit-code-from playwright
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: End-to-end tests
working-directory: .
run: |
cd end_to_end_tests
npm install
cd ..
docker compose -f docker-compose-playwright.yml build
docker compose -f docker-compose-playwright.yml up --abort-on-container-exit --exit-code-from playwright

0 comments on commit 0de32b3

Please sign in to comment.