Build and test packages individually
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user