Bump @types/node from 17.0.8 to 20.2.0 #528
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 17.x, 18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
yarn install | |
- name: Build | |
run: | | |
yarn run build | |
- name: Testing | |
run: | | |
yarn run test | |
example-jest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install dependencies | |
run: | | |
yarn install | |
- name: Build | |
run: | | |
yarn run build | |
- name: Example test | |
working-directory: ./example/jest | |
run: | | |
yarn install | |
yarn run spec | |
example-mocha: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install dependencies | |
run: | | |
yarn install | |
- name: Build | |
run: | | |
yarn run build | |
- name: Example test | |
working-directory: ./example/mocha | |
run: | | |
yarn install | |
yarn run spec |