mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-12 10:00:39 -04:00
45 lines
1.1 KiB
YAML
45 lines
1.1 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: [22]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
|
|
id: pnpm-install
|
|
with:
|
|
run_install: false
|
|
|
|
- name: Set freeCodeCamp Environment Variables
|
|
run: |
|
|
cp sample.env .env
|
|
|
|
- name: Install Dependencies
|
|
run: pnpm install
|
|
|
|
- name: Validate Challenge Files
|
|
run: pnpm run audit-challenges
|