Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Translators Branch #7710

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
# - run: npm run format
# - run: npm run test
- run: npm run build
- uses: olegtarasov/get-tag@v2.1
- uses: olegtarasov/get-tag@53af8e1e538a0ffab949cdde3e332d8e58e8630f
id: tagName
# For using same tag for staging and production we need to uncomment these two below lines:
# with:
Expand All @@ -70,7 +70,7 @@ jobs:
run: echo "New beta website - https://beta.deriv.com"

- name: Slack Notification 📣
uses: 8398a7/action-slack@v3
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486
with:
status: ${{ job.status }}
fields: workflow,repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/corewebvitals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- Cumulative Layout Shift: ${{ steps.results.outputs.cls }}

- name: Slack Notification 📣
uses: 8398a7/action-slack@v3
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486
if: ${{ failure() }}
with:
status: custom
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/generate-preview-link-eu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
build_eu_to_cloudflare_pages:
runs-on: Ubuntu-latest
permissions:
checks: write
pull-requests: write
checks: write
pull-requests: write
steps:
- name: Verify user
uses: 'deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1'
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
sites/eu/.cache
sites/eu/public
- name: Install Dependencies
uses: "./.github/actions/npm_install_from_cache"
uses: './.github/actions/npm_install_from_cache'

- name: Build project
id: build-project
Expand All @@ -84,17 +84,18 @@ jobs:
GATSBY_DATABASE_URL: ${{ secrets.GATSBY_DATABASE_URL }}

run: npm run build:eu

- name: Retrieve PR information
env:
EVENT_NUMBER: ${{ github.event.number }}
EVENT_USERNAME: ${{ github.event.pull_request.user.login }}
HEAD_REF: ${{ github.head_ref }}
DRAFT: ${{ github.event.pull_request.draft }}
run: |
mkdir -p .pr
echo "$EVENT_NUMBER" > .pr/NR
echo "$EVENT_USERNAME" > .pr/USERNAME
echo "$HEAD_REF" > .pr/BRANCHNAME
echo "$DRAFT" > .pr/DRAFT
- name: Publish to Cloudflare Pages
id: publish-to-pages
env:
Expand Down Expand Up @@ -167,4 +168,4 @@ jobs:
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
with:
name: 'pr-${{github.run_id}}'
path: .pr
path: .pr
9 changes: 5 additions & 4 deletions .github/workflows/generate-preview-link-row.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
build_row_to_cloudflare_pages:
runs-on: Ubuntu-latest
permissions:
checks: write
pull-requests: write
checks: write
pull-requests: write
steps:
- name: Verify user
uses: 'deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1'
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
sites/row/public

- name: Install Dependencies
uses: "./.github/actions/npm_install_from_cache"
uses: './.github/actions/npm_install_from_cache'

- name: Build project
id: build-project
Expand All @@ -92,12 +92,13 @@ jobs:
EVENT_NUMBER: ${{ github.event.number }}
EVENT_USERNAME: ${{ github.event.pull_request.user.login }}
HEAD_REF: ${{ github.head_ref }}
DRAFT: ${{ github.event.pull_request.draft }}
run: |
mkdir -p .pr
echo "$EVENT_NUMBER" > .pr/NR
echo "$EVENT_USERNAME" > .pr/USERNAME
echo "$HEAD_REF" > .pr/BRANCHNAME

echo "$DRAFT" > .pr/DRAFT
- name: Publish to Cloudflare Pages
id: publish-to-pages
env:
Expand Down
194 changes: 0 additions & 194 deletions .github/workflows/lighthouse.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ jobs:
npm ci
npm test
- name: Run linters
uses: wearerequired/lint-action@v1
uses: wearerequired/lint-action@42567b31ed576cdd5a431d77ca5bc8822430d1d0
with:
eslint: true
Loading
Loading