Fix working dir

master
Raymonzut 5 years ago
parent 15411e8b89
commit 13099c51fd
No known key found for this signature in database
GPG Key ID: 97CF2D8BE2C69FC7
  1. 7
      .github/workflows/nodejs.yml

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

Loading…
Cancel
Save