fix: translation for filter not working when switching language #5423
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting (Lint) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
packages: read | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Enable corepack | |
run: corepack enable | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
registry-url: "https://npm.pkg.github.com" | |
- name: Set yarn version | |
run: | | |
yarn set version stable | |
yarn set version 3.6.4 | |
- name: Setup .yarnrc.yml | |
run: | | |
yarn config set nodeLinker node-modules | |
yarn config set npmScopes.plentymarkets.npmRegistryServer "https://npm.pkg.github.com" | |
yarn config set npmScopes.plentymarkets.npmAlwaysAuth true | |
yarn config set npmScopes.plentymarkets.npmAuthToken $NODE_AUTH_TOKEN | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create .env file | |
run: touch apps/web/.env | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile | |
- name: Run prettier | |
run: yarn format | |
- name: Run linter | |
run: yarn lint |