New Crowdin Translations (#2443) #3940
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: code-check | |
on: | |
push: | |
branches: | |
- long_lived/** | |
- main | |
- release/** | |
tags: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
# Use node version from '.nvmrc' instead of hardcoding here | |
node-version-file: ".nvmrc" | |
- name: npm ci | |
run: npm ci | |
- name: npm run build:ci | |
run: npm run build:ci | |
- name: Check for Prettier issues | |
run: npm run check:prettier | |
- name: Check for ESLint issues | |
run: npm run check:lint | |
- name: Check for TS issues | |
run: npm run check:types | |
- name: Run tests | |
run: npm run test |