Skip to content

Commit

Permalink
update frontend actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bansikah22 committed Sep 12, 2024
1 parent 57f5be4 commit a9e8165
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 109 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DISCORD_WEBHOOK_URL=https://discordapp.com/api/webhooks/1262761533579202630/VFckidxRg4NMYexynfrMr7068fsyD4OV-hnbLV2yu73fYeuyiE8CRRU1biAN5XLDpgMA
11 changes: 8 additions & 3 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

GHRC_USERNAME: ${{ secrets.GHRC_USERNAME }}
GHRC_TOKEN: ${{ secrets.GHRC_TOKEN }}

Expand All @@ -23,15 +22,21 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Dependencies
run: npm install --force
run: |
npm install --force
npm install @babel/plugin-proposal-private-property-in-object --save-dev
- name: Build Project
run: npm run build
env:
CI: true # Ensures build fails on warnings

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
Expand All @@ -53,4 +58,4 @@ jobs:
file: ./user-frontend/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
1 change: 1 addition & 0 deletions docs/file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oi9haeghei7O
Empty file removed file.txt
Empty file.
41 changes: 0 additions & 41 deletions file.yml

This file was deleted.

50 changes: 0 additions & 50 deletions notes.md

This file was deleted.

12 changes: 0 additions & 12 deletions trafik.yml

This file was deleted.

25 changes: 22 additions & 3 deletions user-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions user-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@babel/plugin-proposal-private-property-in-object": "^7.12.1",
"axios": "^1.7.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down

0 comments on commit a9e8165

Please sign in to comment.