mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
2c0dd791a4
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
name: i18n - Build Validation
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
ci:
|
|
name: Validate i18n Builds
|
|
runs-on: ubuntu-24.04
|
|
strategy:
|
|
matrix:
|
|
node-version: [24]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@26f6d4f2c533a43e6b5da0b4a5dd983f98f7b49a # v6
|
|
id: pnpm-install
|
|
with:
|
|
run_install: false
|
|
|
|
- name: Setup Turbo Cache
|
|
uses: ./.github/actions/setup-turbo-cache
|
|
with:
|
|
turbo-token: ${{ secrets.TURBO_TOKEN }}
|
|
turbo-signature-key: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
|
|
|
|
- name: Set freeCodeCamp Environment Variables
|
|
run: |
|
|
sed '/^[[:space:]]*#/d; /^$/d' sample.env >> $GITHUB_ENV
|
|
|
|
- name: Install Dependencies
|
|
run: pnpm install
|
|
|
|
- name: Validate Challenge Files
|
|
run: pnpm run audit-challenges
|