Skip to content

Commit fb12e0d

Browse files
authored
Merge pull request #3 from JalilaMuadi/addtests-v2
Addtests v2
2 parents e5a21e4 + 4079a5a commit fb12e0d

File tree

1,061 files changed

+23
-3
lines changed

Some content is hidden

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

1,061 files changed

+23
-3
lines changed

.github/workflows/cd.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,30 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13+
1314
- name: Check out code
1415
uses: actions/checkout@v4
1516

1617
- name: Set up Node
1718
uses: actions/setup-node@v4
1819
with:
1920
node-version: 22
20-
21+
2122
- name: Install dependencies
2223
run: npm ci
2324

2425
- name: Build app
25-
run: npm run build
26+
run: npm run build
27+
28+
- name: Set up GCP CLI
29+
uses: google-github-actions/setup-gcloud@v1
30+
with:
31+
project_id: ${{ secrets.GCP_PROJECT_ID }}
32+
service_account_key: ${{ secrets.GCP_CREDENTIALS }}
33+
34+
35+
- name: Build & Push Docker image
36+
run: |
37+
IMAGE_NAME=notely
38+
TAG=latest
39+
gcloud builds submit --tag us-central1-docker.pkg.dev/notely-491114/notely-ar-repo/$IMAGE_NAME:$TAG .

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ node_modules/
22
coverage/
33
dist/
44
.env
5-
.vscode
5+
.DS_Store
6+
.idea/
7+
.vscode/
8+
*.log
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)