Skip to content

Commit

Permalink
Revert "chore: upgrade Node.js version and other packages"
Browse files Browse the repository at this point in the history
This reverts commit 3b0094a.
  • Loading branch information
miya authored and miya committed Aug 10, 2023
1 parent 3ab2a1b commit a2c0650
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/WebPageToMarkdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fi;
shell: bash
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Crawl pages and generate Markdown files
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
node-version: '14'
- name: Install & Lint
run: |
npm install
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ To use Linters locally by running these commands shown below:
cd ~/Desktop
git clone https://github.com/freeCodeCamp/chinese.git
cd chinese
npm install && npm run prepare
npm install
# Every time
npm test
```
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"url": "https://github.com/freeCodeCamp/news-translation/issues"
},
"devDependencies": {
"@lint-md/cli": "^2.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0"
"husky": "^4.3.0",
"lint-md-cli": "^0.1.2",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1"
},
"prettier": {
"singleQuote": true,
Expand All @@ -25,7 +25,6 @@
"*.md": "lint-md --fix"
},
"scripts": {
"prepare": "husky install",
"lint": "lint-md chinese/**/*.md",
"format": "lint-md chinese/**/*.md --fix",
"test": "lint-staged"
Expand Down

0 comments on commit a2c0650

Please sign in to comment.