File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,26 @@ jobs:
1010
1111 build :
1212 runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ node-version : [ 20.x ]
1316 steps :
17+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
18+ - name : Setup Node ${{ matrix.node-version }}
19+ uses : actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # 4.0.1
20+ with :
21+ node-version : ${{ matrix.node-version }}
22+ - name : Create JS files
23+ working-directory : ./ui
24+ run : |
25+ yarn install
26+ yarn build
1427 - name : Build package using Poetry and store result
1528 uses : chaoss/grimoirelab-github-actions/build@main
1629 with :
1730 artifact-name : grimoirelab-core-dist
1831 artifact-path : dist
32+ skip-checkout : yes
1933
2034 tests :
2135 needs : [build]
Original file line number Diff line number Diff line change 55
66# Package files
77src /grimoirelab /core /static
8- src /grimoirelab /core /templates
98
109# JavaScript files
1110node_modules
Original file line number Diff line number Diff line change @@ -21,8 +21,11 @@ packages = [
2121 { include = " grimoirelab" , from = " src" },
2222]
2323
24- exclude = [
25- " grimoirelab/core/static"
24+ include = [
25+ { path = " grimoirelab/core/templates" },
26+ { path = " AUTHORS" , format = " sdist" },
27+ { path = " NEWS" , format = " sdist" },
28+ { path = " README.md" , format = " sdist" },
2629]
2730
2831classifiers = [
You can’t perform that action at this time.
0 commit comments