Bump wouter from 3.3.1 to 3.3.5 #1170
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: Tests | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
# Create cache for Playwright installation | |
- name: Restore Playwright Installation Cache | |
id: playwright-cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/ms-playwright | |
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm.lock.yaml') }} | |
# Install Playwright if pnpm.lock.yaml changed | |
- name: Install Playwright | |
if: steps.playwright-cache.outputs.cache-hit != 'true' | |
run: cd packages/e2e-testing && npx playwright install | |
- name: Lint | |
run: pnpm lint | |
- name: Type check | |
run: pnpm type | |
- name: Unit Test | |
run: pnpm test:modules | |
- name: CLI Test | |
run: pnpm test:cli | |
env: | |
BRANCH_NAME: ${{ github.ref_name }} | |
- name: Run E2E test | |
run: pnpm e2e |