Update dependency @types/node to v16.18.119 #1321
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: ci | |
# https://github.com/actions/starter-workflows/blob/master/ci/npm-publish.yml | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
# https://github.com/actions/starter-workflows/issues/158 | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x, 20.x] | |
env: | |
NODE_ENV: ci | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn && yarn run ci | |
- run: yarn run test | |
- name: check process start | |
working-directory: ./examples/websocket-chat/game-server | |
run: node ci-test.js && pkill -f node | |
- name: check nestjs example start | |
working-directory: ./examples/websocket-chat-ts-run/game-server | |
run: node ci-test.js && pkill -f node | |
- name: check ssl example start | |
working-directory: ./examples/ssl-connector/game-server | |
run: node ci-test.js && pkill -f node | |