Skip to content

Add back ws dep (fix #125) #244

Add back ws dep (fix #125)

Add back ws dep (fix #125) #244

Workflow file for this run

name: Node CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: npm-shrinkwrap.json
- name: npm install, build
run: |
npm ci
npm run build
node ./dist/index.js --version
env:
CI: true
prettier:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: npm-shrinkwrap.json
- name: Checking code styles
run: |
npm ci
npm run lint
env:
CI: true