From 08c06623cceb499d749b39fd42c225f25d4bfd66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Su=C5=A1ick=C3=BD?= Date: Tue, 19 Nov 2024 13:57:35 +0100 Subject: [PATCH] fix --- .github/workflows/ci.yml | 12 ++++++------ eslint.config.js | 2 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5626e68..d768edd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: Continuous Integration on: push: branches: - - master + - main pull_request: branches: - - master + - main env: PNPM_VERSION: latest @@ -18,15 +18,15 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: ${{ env.PNPM_VERSION }} + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: pnpm - - uses: pnpm/action-setup@v4 - with: - version: ${{ env.PNPM_VERSION }} - - run: pnpm install - run: pnpm run lint diff --git a/eslint.config.js b/eslint.config.js index acdd074..58f6166 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,8 +1,6 @@ import eslintPluginAstro from "eslint-plugin-astro"; import stylistic from "@stylistic/eslint-plugin"; -// TODO: Migrate to https://eslint.style/guide/getting-started - export default [ ...eslintPluginAstro.configs.recommended, {