From 0a7e33633dcb2ff6287e5aa54c14f7b5ee36a0f2 Mon Sep 17 00:00:00 2001 From: Ilya Artamonov Date: Sat, 17 Dec 2022 12:06:35 +0300 Subject: [PATCH] chore: Updated jobs on PR --- .github/workflows/node.js.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 77bc3cf..8e0c1f8 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -53,3 +53,18 @@ jobs: cache: 'npm' - run: npm i - 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