Merge pull request #13 from etecture/feature/hooks #87
This file contains 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
name: Run Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm i -r | |
- name: Lint project | |
run: pnpm exec biome ci . | |
- name: Install playwright | |
run: pnpm exec playwright install --with-deps | |
- name: Run Tests | |
run: | | |
pnpm run test | |
pnpm run ct:run |