@samitouri / QOS-React / commits / 9a9e03b915

Add playground e2e to ci

This only runs on main since it takes a while to run (about ~4 mins)

Lauren Tan committed Apr 3, 2024 at 18:12 UTC 9a9e03b9150eb1421e74bae912d366cd94494ba2
1 file changed +26
compiler/.github/workflows/playground.yml new
+26
@@ -0,0 +1,26 @@
1 +name: Playground
2 +
3 +on:
4 + push:
5 + branches: [main]
6 +
7 +jobs:
8 + playground:
9 + name: Test playground
10 + runs-on: ubuntu-latest
11 + steps:
12 + - uses: actions/checkout@v4
13 + - uses: actions/setup-node@v4
14 + with:
15 + node-version: 18.x
16 + cache: "yarn"
17 + cache-dependency-path: yarn.lock
18 + - name: Restore cached node_modules
19 + uses: actions/cache@v4
20 + id: node_modules
21 + with:
22 + path: "**/node_modules"
23 + key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
24 + - run: yarn install --frozen-lockfile
25 + - run: npx playwright install --with-deps chromium
26 + - run: yarn workspace playground test