diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 827c69e..18d5b5f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -10,12 +10,26 @@ on: branches: [ "main" ] jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20.x] + 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: yarn install --frozen-lockfile + - run: yarn build + - run: yarn test lint: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }}