From f8147c775b788239741aee89519865120a2e3d0d Mon Sep 17 00:00:00 2001 From: Christopher Schleiden Date: Wed, 9 Nov 2022 14:57:55 -0800 Subject: [PATCH] Build and test packages individually --- .github/workflows/buildtest.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index a291e70..7ee4ca1 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -10,6 +10,10 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + package: [actions-languageservice,actions-languageserver] + steps: - uses: actions/checkout@v3 - name: Use Node.js 16.x @@ -21,5 +25,7 @@ jobs: - run: npm ci env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - run: npm run build --if-present + - run: npm run build + working-directory: ${{ matrix.package }} - run: npm test + working-directory: ${{ matrix.package }}