chore: Updated jobs on PR
This commit is contained in:
15
.github/workflows/node.js.yml
vendored
15
.github/workflows/node.js.yml
vendored
@@ -53,3 +53,18 @@ jobs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: npm run build:package
|
- run: npm run build:package
|
||||||
|
build-types:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [ 16.x, 18.x ]
|
||||||
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'npm'
|
||||||
|
- run: npm i
|
||||||
|
- run: npm run build:types
|
||||||
|
|||||||
Reference in New Issue
Block a user