diff --git a/.github/workflows/component-linting.yml b/.github/workflows/component-linting.yml index 09dc0d6..38d405b 100644 --- a/.github/workflows/component-linting.yml +++ b/.github/workflows/component-linting.yml @@ -11,19 +11,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 12 + node-version: ">=18" - name: Yarn install run: yarn install - name: ESLint if: ${{ always() }} - run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern {test,javascripts} + run: yarn eslint --ext .js,.js.es6,.gjs --no-error-on-unmatched-pattern {test,javascripts} - name: Prettier if: ${{ always() }} @@ -32,7 +32,7 @@ jobs: yarn prettier -v shopt -s extglob if ls @(javascripts|desktop|mobile|common|scss)/**/*.@(scss|js|es6) &> /dev/null; then - yarn prettier --list-different "@(javascripts|desktop|mobile|common|scss)/**/*.{scss,js,es6}" + yarn prettier --list-different "@(javascripts|desktop|mobile|common|scss)/**/*.{scss,js,es6,gjs,hbs}" fi if ls test/**/*.@(js|es6) &> /dev/null; then yarn prettier --list-different "test/**/*.{js,es6}"