Files
vue-ts-example/.gitea/workflows/ci.yaml
严浩 0afdfc5d2c
All checks were successful
CI / cache-and-install (push) Successful in 52s
chore: Update pnpm to version 9
2024-08-08 16:53:58 +08:00

35 lines
593 B
YAML

name: CI
on:
- push
- pull_request
jobs:
cache-and-install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install # --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build