fix: change i18n interpolation format separator from , to | #6437
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: Test | |
on: [push] | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
jobs: | |
tsc: | |
runs-on: ubuntu-latest | |
name: Typescript | |
steps: | |
- uses: actions/checkout@v3 | |
- name: πΎ Cache Dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ./node_modules | |
key: ${{ runner.os }}-${{ matrix.node }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: π¨ Install Dependencies | |
run: yarn install --frozen-lockfile --ignore-engines --ignore-scripts | |
- name: π§ͺ tsc | |
run: yarn types --noEmit | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16, 18] | |
name: Test with Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: πΎ Cache Dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ./node_modules | |
key: ${{ runner.os }}-${{ matrix.node }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: π¨ Install Dependencies & Build | |
run: yarn install --frozen-lockfile --ignore-engines | |
- name: π§ͺ Lint and Test with ${{ matrix.node }} | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
run: | | |
yarn lint | |
yarn coverage | |
yarn validate-translations | |
- name: π§ͺ Validate CommonJS bundle with ${{ matrix.node }} | |
run: yarn validate-cjs |