Build and test packages individually
This commit is contained in:
@@ -10,6 +10,10 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
package: [actions-languageservice,actions-languageserver]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js 16.x
|
- name: Use Node.js 16.x
|
||||||
@@ -21,5 +25,7 @@ jobs:
|
|||||||
- run: npm ci
|
- run: npm ci
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: npm run build --if-present
|
- run: npm run build
|
||||||
|
working-directory: ${{ matrix.package }}
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
working-directory: ${{ matrix.package }}
|
||||||
|
|||||||
Reference in New Issue
Block a user