New Crowdin updates #737
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 | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
mtc-artillery: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./packages/mtc-artillery | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
with: | |
version: 9 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: "pnpm" | |
cache-dependency-path: ./packages/mtc-artillery/pnpm-lock.yaml | |
- name: Install pnpm packages | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint -- --max-warnings 0 | |
download-overlay: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./packages/download-overlay | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
with: | |
version: 9 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: "pnpm" | |
cache-dependency-path: ./packages/download-overlay/pnpm-lock.yaml | |
- name: Install pnpm packages | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint |