diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ac98008..cc35513 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -25,10 +25,15 @@ jobs: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin trivy image --severity HIGH,CRITICAL nginx:alpine - # 3. LINTING & QUALIDADE + # 3. LINTING & QUALIDADE + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' + - name: HTML/CSS Linter run: | - sudo npm install -g htmlhint stylelint stylelint-config-standard + npm install -g htmlhint stylelint stylelint-config-standard htmlhint index.html # Adiciona validação de CSS se tiveres ficheiros .css