-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (36 loc) · 950 Bytes
/
Copy pathadmin-frontend.yml
File metadata and controls
39 lines (36 loc) · 950 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
38
39
name: Admin Frontend
permissions:
contents: read
on:
push:
paths:
- "web/admin/**"
- ".github/workflows/admin-frontend.yml"
pull_request:
paths:
- "web/admin/**"
- ".github/workflows/admin-frontend.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web/admin
steps:
# actions/checkout v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
with:
persist-credentials: false
# actions/setup-node v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
with:
node-version: 24
cache: npm
cache-dependency-path: web/admin/package-lock.json
- run: npm ci --no-audit --no-fund
- run: npm run lint
- run: npm run test:run
- run: npm run build