From c651c73fe3344ecba38a4ff8a17b38ac95e45d04 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Wed, 28 May 2025 23:09:55 -0400 Subject: [PATCH] Update node version in linting (for NPM) --- .gitea/workflows/lint.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index f8e1c11..5a441bb 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -13,15 +13,15 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 # Uses the GitHub Actions checkout action, which is compatible with Gitea Actions + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v4 # Uses the GitHub Actions setup-node action, compatible with Gitea Actions + uses: actions/setup-node@v4 with: - node-version: '20' # Specify the Node.js version you are using (e.g., 18, 20, 22) + node-version: '22' - name: Install dependencies - run: npm install # Installs all dependencies listed in package.json + run: npm install - name: Run lint - run: npm run lint # Executes the 'lint' script defined in your package.json + run: npm run lint