Skip to content

Chore: fix workflow script #139

Chore: fix workflow script

Chore: fix workflow script #139

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
DEPENDENCIES_CACHE: cache-node-modules
jobs:
install-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/use-cache
- name: Install Node.js
uses: actions/setup-node@v4
with:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
build:
runs-on: ubuntu-latest
needs: install-deps
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/use-cache
- run: pnpm run build
docs-build:
runs-on: ubuntu-latest
needs: install-deps
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/use-cache
- run: pnpm run docs:build
test:
runs-on: ubuntu-latest
needs: install-deps
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/use-cache
- run: pnpm run test:vue3
continue-on-error: true
lint:
runs-on: ubuntu-latest
needs: install-deps
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/use-cache
- run: pnpm run lint