Skip to content

Fix Terminology "Translate" link dropping the string query (#4622) #2446

Fix Terminology "Translate" link dropping the string query (#4622)

Fix Terminology "Translate" link dropping the string query (#4622) #2446

Workflow file for this run

name: Frontend
on:
push:
branches:
- main
paths:
- package*
- translate/**
- .github/workflows/frontend.yml
pull_request:
branches:
- main
paths:
- package*
- translate/**
- .github/workflows/frontend.yml
workflow_dispatch:
permissions: {}
jobs:
typescript:
name: TypeScript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with: { node-version: '24' }
- name: Install dependencies
run: npm ci
- name: Check TypeScript
run: npm run types -- --pretty
working-directory: translate
- name: build
run: npm run build
working-directory: translate
licenses:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with: { node-version: '24' }
- run: | # zizmor: ignore[adhoc-packages]
npm install --global license-checker-rseidelsohn@4.4.2
- name: Install dependencies
run: npm ci
- name: Check licenses
run: |
# --failOn doesn't print the licenses on failure.
# Use jq to print only minimal info, then print a summary when
# checking for GPL packages.
license-checker-rseidelsohn --json | jq -r 'to_entries[] | "\(.key): \(.value.licenses)"'
license-checker-rseidelsohn --summary --failOn 'GPL'
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with: { node-version: '24' }
- name: Install dependencies
run: npm ci
- name: vitest
run: npm test -- --coverage
working-directory: translate
- uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
flags: frontend
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}