From 5a79ebceed8ea9e0100d4e1459c727e296e69db2 Mon Sep 17 00:00:00 2001 From: l4kr Date: Wed, 13 Sep 2023 15:48:08 +0200 Subject: [PATCH] acid testing --- .github/workflows/futon-deploy.yaml | 33 ++++++++++++----------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/.github/workflows/futon-deploy.yaml b/.github/workflows/futon-deploy.yaml index 32251bf..e5af6d5 100644 --- a/.github/workflows/futon-deploy.yaml +++ b/.github/workflows/futon-deploy.yaml @@ -6,26 +6,21 @@ on: branches: [main] jobs: - run-linters: - name: Run linters + lint: runs-on: ubuntu-latest - steps: - - name: Check out Git repository - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v1 + - name: Checkout code + uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v2.4.0 with: - node-version: 12 + node-version: '16.x' + - name: Install dependencies + run: npm install + - name: Lint CSS files + run: npx stylelint '**/*.css' + - name: Lint JavaScript files + run: npx eslint '**/*.js' + - name: Lint HTML files + run: npx htmlhint '**/*.html' - # ESLint and Prettier must be in `package.json` - - name: Install Node.js dependencies - run: npm ci - - - name: Run linters - uses: wearerequired/lint-action@v2 - with: - eslint: true - prettier: true - stylelint: true -- 2.45.2