Skip to content

CI - Node.js Curriculum #6

CI - Node.js Curriculum

CI - Node.js Curriculum #6

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: Checkout Source Files
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Debug 1
run: |
pwd
ls -la
- 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/* fcc/curriculum/challenges
cp -r curriculum/dictionaries/* fcc/curriculum/dictionaries
- name: Debug 2
run: |
ls -la fcc/curriculum/challenges
echo "----------------"
ls -la fcc/curriculum/dictionaries