From 71dbf25e22ec6ce09f320f2f2ecb367d3e049b82 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Mon, 1 May 2023 23:10:22 +0000 Subject: [PATCH] Revert "no nodejs, only eslint" This reverts commit cd707eb6c220e8b0f2696324a77616fc09d3be21. --- .gitea/workflows/lint.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index e4f9872..2447dd9 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -17,10 +17,18 @@ jobs: steps: - name: Install Dependencies - run: apt update; apt install -y eslint + run: apt update; apt install -y nodejs eslint - name: Check out Git repository uses: actions/checkout@v3 + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 14 + + - name: Install Node.js dependencies + run: npm ci + - name: Run eslint run: eslint *.js