a post-component library for building user-interfaces on the web.
at main 33 lines 978 B view raw
1on: 2 push: 3 branches: [main] 4 pull_request: 5 6jobs: 7 test: 8 runs-on: ubuntu-latest 9 10 steps: 11 - uses: actions/checkout@v6 12 - uses: pnpm/action-setup@v4 13 - uses: actions/setup-node@v6 14 with: 15 node-version: 24 16 cache: pnpm 17 - uses: actions/cache@v5 18 id: puppeteer-cache 19 with: 20 path: ~/.cache/puppeteer 21 key: puppeteer-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} 22 - run: pnpm install --frozen-lockfile 23 - if: steps.puppeteer-cache.outputs.cache-hit != 'true' 24 run: pnpm --filter @dhtml-scripts/test exec puppeteer browsers install chrome 25 - run: pnpm run build 26 - name: Disable AppArmor for chromium 27 run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns || true 28 - run: pnpm run test 29 - if: always() 30 uses: coverallsapp/github-action@v2 31 with: 32 file: coverage/lcov.info 33 format: lcov