|
|
@ -8,9 +8,10 @@ on: |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
build: |
|
|
|
build: |
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
CLIENT_DIR: ./client |
|
|
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
|
|
|
|
strategy: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
node-version: [10.x, 12.x, 13.x] |
|
|
|
node-version: [10.x, 12.x, 13.x] |
|
|
@ -21,9 +22,11 @@ jobs: |
|
|
|
uses: actions/setup-node@v1 |
|
|
|
uses: actions/setup-node@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
node-version: ${{ matrix.node-version }} |
|
|
|
node-version: ${{ matrix.node-version }} |
|
|
|
- run: cd client/ |
|
|
|
|
|
|
|
- run: npm ci |
|
|
|
- run: npm ci |
|
|
|
|
|
|
|
working-directory: ${{env.CLIENT_DIR}} |
|
|
|
- run: npm run build --if-present |
|
|
|
- run: npm run build --if-present |
|
|
|
|
|
|
|
working-directory: ${{env.CLIENT_DIR}} |
|
|
|
- run: npm test |
|
|
|
- run: npm test |
|
|
|
|
|
|
|
working-directory: ${{env.CLIENT_DIR}} |
|
|
|
env: |
|
|
|
env: |
|
|
|
CI: true |
|
|
|
CI: true |
|
|
|