Skip to content

Merge pull request #122 from azavea/dependabot/npm_and_yarn/socket.io… #170

Merge pull request #122 from azavea/dependabot/npm_and_yarn/socket.io…

Merge pull request #122 from azavea/dependabot/npm_and_yarn/socket.io… #170

Workflow file for this run

name: Tests
# Triggers the workflow on push or pull request
# events but only for the master, develop branches
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out commit
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 --frozen-lockfile
- name: Run tests
run: 'yarn test:ci'