-
-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (34 loc) · 890 Bytes
/
frontend-code.yml
File metadata and controls
39 lines (34 loc) · 890 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: Code analysis checks
on:
workflow_call:
inputs:
node-version:
type: string
required: true
working-directory:
type: string
required: false
default: '.'
jobs:
qa:
name: Code analysis check
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- name: Main checkout
uses: actions/checkout@v6
- name: Setup uv
uses: plone/meta/.github/actions/setup_uv@2.x
with:
working-directory: ${{ inputs.working-directory }}
- name: Setup codebase
uses: plone/meta/.github/actions/setup_frontend@2.x
with:
node-version: ${{ inputs.node-version }}
working-directory: ${{ inputs.working-directory }}
- name: Linting
shell: bash
run: |
make lint