Use npm scripts instead of framework-specific commands

pull/1214/head
Lim Chee Aun 2025-07-10 11:36:37 +08:00
rodzic 1c6deb46ae
commit da9a5e3dae
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -13,4 +13,4 @@ jobs:
with: with:
node-version: 20 node-version: 20
- run: npm ci - run: npm ci
- run: npx biome check - run: npm run formatting-check

Wyświetl plik

@ -22,7 +22,7 @@ jobs:
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: npx playwright install --with-deps webkit --only-shell run: npx playwright install --with-deps webkit --only-shell
- name: Run Playwright tests - name: Run Playwright tests
run: npx playwright test run: npm run test
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
if: ${{ !cancelled() }} if: ${{ !cancelled() }}
with: with: