Skip to content

from vue-cli to vite-vue-ts + drop pinia #340

from vue-cli to vite-vue-ts + drop pinia

from vue-cli to vite-vue-ts + drop pinia #340

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node env πŸ—
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: pnpm install
- name: Run check task πŸ‘€
run: pnpm run check
- name: Wait for the Netlify Preview
uses: jakepartusch/wait-for-netlify-action@v1
id: netlify
with:
site_name: "shuunen-ging"
if: ${{ github.event_name == 'pull_request' }}
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v10
with:
urls: |
${{ steps.netlify.outputs.url }}
budgetPath: ./budget.json
uploadArtifacts: true
if: ${{ github.event_name == 'pull_request' }}