Build and test packages individually

This commit is contained in:
Christopher Schleiden
2022-11-09 14:57:55 -08:00
parent 2e1652515e
commit f8147c775b
+7 -1
View File
@@ -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 }}