|
|
@ -1,4 +1,4 @@
|
|
|
|
name: Test
|
|
|
|
name: 🧪 Test
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
@ -26,25 +26,27 @@ jobs:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
- name: 📥 Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install pnpm
|
|
|
|
- name: 📦 Install pnpm
|
|
|
|
uses: pnpm/action-setup@v3
|
|
|
|
uses: pnpm/action-setup@v3
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set node version to ${{ matrix.node_version }}
|
|
|
|
- name: 🛠️ Set node version to ${{ matrix.node_version }}
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node_version }}
|
|
|
|
node-version: ${{ matrix.node_version }}
|
|
|
|
cache: pnpm
|
|
|
|
cache: pnpm
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install deps
|
|
|
|
- name: 📦 Install dependencies
|
|
|
|
run: pnpm install
|
|
|
|
run: pnpm install
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install Playwright
|
|
|
|
- name: 🎭 Install Playwright
|
|
|
|
run: pnpm playwright install chromium
|
|
|
|
run: pnpm playwright install chromium
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check
|
|
|
|
- name: ✅ Check
|
|
|
|
run: pnpm check
|
|
|
|
run: pnpm check
|
|
|
|