From 1bfd27030ec3eb9fbeee1712df191d11957c9fc9 Mon Sep 17 00:00:00 2001 From: Jonathan Jaubart Date: Sat, 4 Nov 2023 18:53:43 +0000 Subject: [PATCH] GitHub action `actions-hub/stylelint` does not support Node 16 --- .github/workflows/css-codestyle.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/css-codestyle.yaml b/.github/workflows/css-codestyle.yaml index e950f84..0cdddaa 100644 --- a/.github/workflows/css-codestyle.yaml +++ b/.github/workflows/css-codestyle.yaml @@ -16,6 +16,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - uses: actions-hub/stylelint@master - env: - PATTERN: "src/**/*.scss" \ No newline at end of file + - uses: actions/setup-node@v4 + + - run: npm install stylelint stylelint-config-standard stylelint-config-sass-guidelines + + - name: Run StyleLint + run: npx stylelint "src/**/*.scss" \ No newline at end of file