forked from MythicalLTD/FeatherPanel
-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·37 lines (36 loc) · 888 Bytes
/
Copy pathfrontend.yml
File metadata and controls
executable file
·37 lines (36 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Frontend Jobs
on: [push, pull_request]
jobs:
build:
name: Frontend Build
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
node-version: [24]
defaults:
run:
working-directory: frontendv2
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install dependencies
run: |
if [ -f pnpm-lock.yaml ]; then
pnpm install --frozen-lockfile
else
echo "pnpm-lock.yaml file not found"
exit 1
fi
- name: Build
run: pnpm build