modification in action script
This commit is contained in:
parent
b353db518c
commit
2895284bc1
|
|
@ -36,13 +36,13 @@ jobs:
|
||||||
- name: Run linter
|
- name: Run linter
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
# - name: Notify Google Chat
|
- name: Notify Google Chat
|
||||||
# if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps
|
if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps
|
||||||
# uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0
|
uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0
|
||||||
# with:
|
with:
|
||||||
# webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}'
|
webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}'
|
||||||
# jobStatus: ${{ job.status }}
|
jobStatus: ${{ job.status }}
|
||||||
# title: Lint failed
|
title: Lint failed
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
@ -62,13 +62,13 @@ jobs:
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
# - name: Notify Google Chat
|
- name: Notify Google Chat
|
||||||
# if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps
|
if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps
|
||||||
# uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0
|
uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0
|
||||||
# with:
|
with:
|
||||||
# webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}'
|
webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}'
|
||||||
# jobStatus: ${{ job.status }}
|
jobStatus: ${{ job.status }}
|
||||||
# title: Test failed
|
title: Test failed
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
@ -105,17 +105,14 @@ jobs:
|
||||||
path: Dockerfile
|
path: Dockerfile
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
# - name: Notify Google Chat
|
- name: Notify Google Chat
|
||||||
# if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps
|
if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps
|
||||||
# uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0
|
uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0
|
||||||
# with:
|
with:
|
||||||
# webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}'
|
webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}'
|
||||||
# jobStatus: ${{ job.status }}
|
jobStatus: ${{ job.status }}
|
||||||
# title: Build failed
|
title: Build failed
|
||||||
|
|
||||||
#- name: deploy
|
|
||||||
# if: ${{ success() }}
|
|
||||||
# run: docker build -t targo_frontend .
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: [lint, test, build]
|
needs: [lint, test, build]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user