mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-14 11:10:30 +08:00
33 lines
587 B
YAML
33 lines
587 B
YAML
|
name: 🚀 Deploy APP
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- next
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: self-hosted
|
||
|
strategy:
|
||
|
matrix:
|
||
|
node-version: [20]
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
|
||
|
- name: Install pnpm
|
||
|
uses: pnpm/action-setup@v4
|
||
|
with:
|
||
|
version: 9
|
||
|
|
||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||
|
uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version: ${{ matrix.node-version }}
|
||
|
cache: 'pnpm'
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: pnpm install
|
||
|
|
||
|
- name: Build
|
||
|
run: pnpm build
|