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: 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

Loading…
Cancel
Save