Skip to content

Commit 87112ba

Browse files
authored
Update build-test.yml
1 parent a2c13b7 commit 87112ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
node-version: [16.x]
21+
workDir: [./front-end]
2122
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2223

2324
steps:
@@ -37,16 +38,21 @@ jobs:
3738
node-version: ${{ matrix.node-version }}
3839

3940
- name: Install Dependencies
41+
working-directory: ${{ matrix.workDir }}
4042
run: npm install
4143

4244
- name: Clean Distribution Directory
45+
working-directory: ${{ matrix.workDir }}
4346
run: npm run ci:clean
4447

4548
- name: Build Application
49+
working-directory: ${{ matrix.workDir }}
4650
run: npm run ci:build
4751

4852
- name: Run Unit Tests
53+
working-directory: ${{ matrix.workDir }}
4954
run: npm run ci:test
5055

5156
- name: List Files in Distribution Directory
57+
working-directory: ${{ matrix.workDir }}
5258
run: ls -R ./dist

0 commit comments

Comments
 (0)