Skip to content

Commit b236859

Browse files
committed
Merge branch 'release-1.0.93'
2 parents 1688e4f + 3b5ff5b commit b236859

File tree

95 files changed

+4606
-1118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+4606
-1118
lines changed

.github/workflows/deployFullstackToDockerHub.yaml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,25 @@ on:
1010
- published
1111
jobs:
1212
fullstack:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-latest
1414
name: Build and push Full-Stack Container to Docker Hub
1515
steps:
1616
- name: Checkout repo
1717
uses: actions/checkout@v2
18-
- name: build-and-push-image
19-
uses: docker/build-push-action@v1
18+
- name: Login to Docker Hub
19+
uses: docker/login-action@v3
2020
with:
2121
username: ${{ secrets.DOCKER_USERNAME }}
2222
password: ${{ secrets.DOCKER_PASSWORD }}
23-
repository: foodoasisla/foodoasisla
24-
dockerfile: ./Dockerfile
25-
tag_with_ref: true
26-
tag_with_sha: true
27-
add_git_labels: true
28-
labels: description="Food Oasis",maintained="[email protected]"
23+
- name: build-and-push-image
24+
uses: docker/build-push-action@v6
25+
with:
26+
context: .
27+
file: ./Dockerfile
28+
push: true
29+
tags: |
30+
foodoasisla/foodoasisla:${{ github.ref_name }}
31+
foodoasisla/foodoasisla:${{ github.sha }}
32+
labels: |
33+
description=Food Oasis
34+

.github/workflows/deployWebAPIOnlyToDockerHub.yaml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,25 @@ on:
1111
- published
1212
jobs:
1313
webapi:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-latest
1515
name: Build and push Web API Container to Docker Hub
1616
steps:
1717
- name: Checkout repo
1818
uses: actions/checkout@v2
19-
- name: build-and-push-image
20-
uses: docker/build-push-action@v1
19+
- name: Login to Docker Hub
20+
uses: docker/login-action@v3
2121
with:
22-
dockerfile: ./Dockerfile-jared
2322
username: ${{ secrets.DOCKER_USERNAME }}
2423
password: ${{ secrets.DOCKER_PASSWORD }}
25-
repository: foodoasisla/foodoasisla
26-
tag_with_ref: true
27-
tag_with_sha: true
28-
add_git_labels: true
29-
labels: description="Food Oasis",maintained="[email protected]"
24+
- name: build-and-push-image
25+
uses: docker/build-push-action@v6
26+
with:
27+
context: .
28+
file: ./Dockerfile-jared
29+
push: true
30+
tags: |
31+
foodoasisla/foodoasisla:${{ github.ref_name }}
32+
foodoasisla/foodoasisla:${{ github.sha }}
33+
labels: |
34+
description=Food Oasis
35+

.github/workflows/developToHeroku.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
14+
- name: Install Heroku CLI
15+
run: |
16+
curl https://cli-assets.heroku.com/install.sh | sh
17+
1318
- uses: akhileshns/[email protected] # This is the action
1419
with:
1520
heroku_api_key: ${{secrets.HEROKU_API_KEY}}

.github/workflows/mainToHeroku.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
14+
- name: Install Heroku CLI
15+
run: |
16+
curl https://cli-assets.heroku.com/install.sh | sh
17+
1318
- uses: akhileshns/[email protected] # This is the action
1419
with:
1520
heroku_api_key: ${{secrets.HEROKU_API_KEY}}

.github/workflows/playwright.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Playwright Tests
2+
on:
3+
push:
4+
branches: [ main, master, develop ]
5+
pull_request:
6+
branches: [ main, master, develop ]
7+
jobs:
8+
test:
9+
timeout-minutes: 60
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: lts/*
16+
17+
- name: Install dependencies
18+
working-directory: ./client
19+
run: npm ci
20+
21+
- name: Install Playwright Browsers
22+
working-directory: ./client
23+
run: npx playwright install --with-deps
24+
25+
- name: Install wait-on
26+
working-directory: ./client
27+
run: npm install wait-on
28+
29+
- name: Run Playwright tests
30+
working-directory: ./client
31+
run: |
32+
npm run start &
33+
npx wait-on http://localhost:3000
34+
npx playwright test
35+
36+
- uses: actions/upload-artifact@v4
37+
if: ${{ !cancelled() }}
38+
with:
39+
name: playwright-report
40+
path: playwright-report/
41+
retention-days: 30

.github/workflows/viteToHeroku.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
14+
- name: Install Heroku CLI
15+
run: |
16+
curl https://cli-assets.heroku.com/install.sh | sh
17+
1318
- uses: akhileshns/[email protected] # This is the action
1419
with:
1520
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
16-
heroku_app_name: "foodoasisvite" #Must be unique in Heroku
21+
heroku_app_name: "foodoasisvite" # Must be unique in Heroku
1722
heroku_email: "[email protected]"
1823
usedocker: true

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,11 @@ dotenv
254254
# End of project-specific exclusions
255255
#
256256

257-
/thunder-tests/thunderActivity.json
257+
/thunder-tests/thunderActivity.json
258+
259+
# Playwright
260+
node_modules/
261+
/client/test-results/
262+
/client/playwright-report/
263+
/client/blob-report/
264+
/client/playwright/.cache/

0 commit comments

Comments
 (0)