name: ci on: pull_request: branches: - main push: branches: - main permissions: contents: read concurrency: group: ci-${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: lint: runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1 - name: ๐Ÿ“ฆ Install dependencies run: vp install - name: ๐Ÿ”  Lint project run: vp lint . test: runs-on: ubuntu-latest timeout-minutes: 15 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1 - name: ๐Ÿ“ฆ Install dependencies run: vp install - name: ๐Ÿ“ฆ Install browsers run: vp exec playwright install - name: ๐Ÿ’ช Type check run: vp run test:types - name: ๐Ÿงช Unit test run: vp run test:unit - name: ๐Ÿƒ Component tests run: vp run test:nuxt browser: runs-on: ubuntu-latest timeout-minutes: 15 container: image: mcr.microsoft.com/playwright:v1.59.1-noble steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1 - name: ๐Ÿ“ฆ Install dependencies run: vp install - name: ๐Ÿ–ฅ๏ธ Test project (browser) run: vp run test:browser