Skip to content

chore: add workflow_dispatch to release workflow #19

chore: add workflow_dispatch to release workflow

chore: add workflow_dispatch to release workflow #19

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache node_modules
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: node-modules-${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Cache Patchright Chromium
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: patchright-chromium-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: patchright-chromium-${{ runner.os }}-
- name: Install Patchright Chromium
run: npx patchright install chromium
- name: Build
run: npm run build
- name: Test
run: npm test
timeout-minutes: 10