Bump @types/websocket from 1.0.5 to 1.0.8 #415
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the develop branch | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [17.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run lint | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [8.x, 10.x, 12.x, 14.x, 16.x, 17.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: npm run unit-test | |
integration-tests: | |
if: github.ref == 'refs/heads/develop' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [8.x, 10.x, 12.x, 14.x, 16.x, 17.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: node build_release_package_json.js | |
- name: Integration tests ${{ matrix.node-version }} | |
env: | |
BASE_URL: ${{ secrets.BASE_URL }} | |
API_KEY: ${{ secrets.API_KEY }} | |
USER_EMAIL: ${{ secrets.USER_EMAIL }} | |
run: npm run integration-test |