Skip to content

Polyfil websocket for nodejs #257

Polyfil websocket for nodejs

Polyfil websocket for nodejs #257

Workflow file for this run

name: lint and test
on:
push:
pull_request:
jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v18
uses: actions/setup-node@v1
with:
node-version: 18
- name: yarn install
run: yarn install
- name: eslint
uses: icrawl/action-eslint@v1
with:
custom-glob: lib
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install
- name: Build
run: yarn build
- name: Test
run: yarn run test