diff --git a/.github/workflows/test-js-ts-package.yml b/.github/workflows/test-js-ts-package.yml index 1117965..6d99946 100644 --- a/.github/workflows/test-js-ts-package.yml +++ b/.github/workflows/test-js-ts-package.yml @@ -8,6 +8,9 @@ on: [pull_request] jobs: build: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./clients/javascript_client/ strategy: matrix: node-version: [14.x, 16.x, 18.x, 20.x] @@ -18,17 +21,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - name: Install all packages run: | - cd clients/javascript_client/ + rm -rfv node_modules npm ci - name: Run Formatting Checks run: | - cd clients/javascript_client/ npm run format - name: Run Lint run: | - cd clients/javascript_client/ npm run lint - name: Run Tests run: |