chore(deps): update typescript-eslint monorepo to v8 (major) #1232
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| - push | |
| - pull_request | |
| env: | |
| NODE_VERSION: 20 | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: wyvox/action-setup-pnpm@v3 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - run: pnpm install | |
| - run: pnpm lint | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: wyvox/action-setup-pnpm@v3 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - run: pnpm install | |
| - run: cp svelte-promise-modals/.env.example svelte-promise-modals/.env && pnpm -F svelte-promise-modals build && pnpm check | |
| tests_e2e: | |
| name: Run end-to-end tests | |
| runs-on: ubuntu-latest | |
| needs: [lint] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: wyvox/action-setup-pnpm@v3 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - run: pnpm install | |
| - run: cp svelte-promise-modals/.env.example svelte-promise-modals/.env && pnpm test:visual | |
| tests_unit: | |
| name: Run unit tests | |
| runs-on: ubuntu-latest | |
| needs: [lint] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: wyvox/action-setup-pnpm@v3 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - run: pnpm install | |
| - run: pnpm -F svelte-promise-modals test:unit |