Skip to content

Commit

Permalink
chore: bump to Node 20 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
raisedadead authored Sep 11, 2024
1 parent 1dca713 commit 68b79ec
Show file tree
Hide file tree
Showing 4 changed files with 1,926 additions and 1,210 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- name: Checkout Source Files
Expand All @@ -26,9 +26,9 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 8
version: latest

- name: Install Dependencies
run: pnpm i
Expand All @@ -44,6 +44,6 @@ jobs:

- name: Run Tests
run: pnpm run test

- name: Check dist is up-to-date
run: git diff --exit-code HEAD
13 changes: 8 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: "Crowdin Integration Tools"
description: "A collection of tools to manage freeCodeCamp's integrations with Crowdin."

name: Crowdin Integration Tools
description: A collection of tools to manage freeCodeCamp's integrations with Crowdin
author: freeCodeCamp
branding:
icon: activity
color: blue
runs:
using: "node16"
main: "dist/index.js"
using: node20
main: dist/index.js
env:
# These are required for the action to run.
CROWDIN_PERSONAL_TOKEN:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
"homepage": "https://github.com/nhcarrigan/crowdin-action#readme",
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/node": "^16.11.12",
"@types/node": "^20.16.5",
"@types/node-fetch": "^2.5.12",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"@vercel/ncc": "^0.36.1",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsdoc": "^37.2.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1",
Expand Down
Loading

0 comments on commit 68b79ec

Please sign in to comment.