mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-07 09:03:27 -05:00
feat(tools): audit i18n challenges (#46968)
* feat(tools): audit i18n challenges Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
29
.github/workflows/i18n-builds.yml
vendored
Normal file
29
.github/workflows/i18n-builds.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: i18n Build Validation
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: Validate i18n Builds
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout Source Files
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js v${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Validate Challenge Files
|
||||
run: npm run audit-challenges
|
||||
Reference in New Issue
Block a user