Skip to content

Commit

Permalink
update node versions, add names to pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianka committed Jun 19, 2024
1 parent febafae commit 0232c6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 21 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/E2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

jobs:
test:
name: Playwright E2E tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -43,8 +44,5 @@ jobs:
- name: Install Playwright browsers
run: cd frontend && npx playwright install

# - name: Wait for database to start and migrate
# run: sleep 120

- name: Run Playwright E2E tests
run: cd frontend && npm run test:playwright
18 changes: 2 additions & 16 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,16 @@ on:

jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
node-version: "22"

- name: Install dependencies for backend
run: cd backend && npm install

- name: Run backend lint
run: cd backend && npm run lint

# to do
# test:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: "20"

# - name: Install dependencies for backend
# run: cd backend && npm install

# - name: Run backend tests
# run: cd backend && npm run test
4 changes: 2 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
node-version: "22"

- name: Install dependencies for frontend
run: cd frontend && npm install
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
node-version: "22"

- name: Install dependencies for frontend
run: cd frontend && npm install
Expand Down

0 comments on commit 0232c6f

Please sign in to comment.