Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-workers. SSR-safe, zero-config Web Workers integration for Nuxt.
Something went wrong. Try again.
1.7 kB · 72 lines
YAML
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273name: ci
on: pull_request: branches: - main push: branches: - main
permissions: contents: read
jobs: lint: runs-on: ubuntu-latest
steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: pnpm/setup@fa36a5ef7dcdefc3a7cb25655c122e00cf6e636e # v3 with: cache: true install: false
- name: 📦 Install dependencies run: pnpm install
- name: 🚧 Set up project run: pnpm dev:prepare
- name: 🔠 Lint project run: pnpm lint
- name: ✂️ Knip project run: pnpm knip
test: strategy: matrix: os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }}
steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: pnpm/setup@fa36a5ef7dcdefc3a7cb25655c122e00cf6e636e # v3 with: runtime: node@26 cache: true install: false
- name: 📦 Install dependencies run: pnpm install
- name: Install Playwright # does not need to explicitly set chromium after https://github.com/microsoft/playwright/issues/14862 is solved run: pnpm playwright install chromium
- name: 🚧 Set up project run: pnpm dev:prepare
- name: 🧪 Test project run: pnpm test
- name: 💪 Test types run: pnpm test:types
- name: 🛠 Build project run: pnpm build
- name: 🟩 Coverage if: matrix.os != 'windows-latest' uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7