Skip to content

CI - Node.js Curriculum #1

CI - Node.js Curriculum

CI - Node.js Curriculum #1

name: CI - Node.js
on:
workflow_dispatch:
pull_request:
branches:
- 'main'
permissions:
contents: read
jobs:
lint:
name: Build i18n Curriculum
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]
fail-fast: false
steps:
- name: Debug 1
run: |
pwd
echo "----------------"
ls
- name: Remove English
run: |
rm -rf curriculum/challenges/english/
rm -rf curriculum/dictionaries/english/
- name: Debug 2
run: |
ls -la curriculum/challenges
echo "----------------"
ls -la curriculum/dictionaries
- name: Checkout Main Repo
run: |
git clone https://github.com/moT01/fcc.git fcc
- name: Debug 3
run: ls -la
- name: Copy i18n Challenges
run: |
cp -r curriculum/challenges freecodecamp/curriculum/challenges
cp -r curriculum/dictionaries freecodecamp/curriculum/dictionaries
- name: Debug 2
run: |
ls -la fcc/curriculum/challenges
echo "----------------"
ls -la fcc/curriculum/dictionaries