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