Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/unsight.dev. Detect duplicate GitHub issues, areas of concern and more across related rep unsight.dev
Something went wrong. Try again.
1.4 kB · 69 lines
YAML
at web-ext
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970name: ci
on: pull_request: branches: - main push: branches: - main
jobs: lint: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v4 - run: corepack enable - uses: actions/setup-node@v4 with: node-version: 20 cache: pnpm
- name: 📦 Install dependencies run: pnpm install
- name: 🔠 Lint project run: pnpm lint
test: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v4 - run: corepack enable - uses: actions/setup-node@v4 with: node-version: 20 cache: pnpm
- name: 📦 Install dependencies run: pnpm install
- name: 💪 Type check run: pnpm test:types
- name: 🧪 Unit test run: pnpm test:unit
# - name: 🏃 Component tests # run: pnpm test:nuxt
# browser: # runs-on: ubuntu-latest # container: # image: mcr.microsoft.com/playwright:v1.49.1-noble
# steps: # - uses: actions/checkout@v4 # - run: corepack enable # - uses: actions/setup-node@v4 # with: # node-version: 20 # cache: pnpm
# - name: 📦 Install dependencies # run: pnpm install
# - name: 🖥️ Test project (browser) # run: pnpm test:browser