diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml new file mode 100644 index 0000000..af60a62 --- /dev/null +++ b/.github/workflows/eslint.yml @@ -0,0 +1,13 @@ +on: + pull_request: + +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm run eslint diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 0000000..56b451e --- /dev/null +++ b/.github/workflows/prettier.yml @@ -0,0 +1,13 @@ +on: + pull_request: + +jobs: + prettier: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm run prettier diff --git a/.github/workflows/svelte-check.yml b/.github/workflows/svelte-check.yml new file mode 100644 index 0000000..251c4c1 --- /dev/null +++ b/.github/workflows/svelte-check.yml @@ -0,0 +1,13 @@ +on: + pull_request: + +jobs: + svelte-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm run check