Skip to content

fix: match return statement in control-flow-switch #235

fix: match return statement in control-flow-switch

fix: match return statement in control-flow-switch #235

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- name: Cache node modules
id: nodemodules-cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: steps.nodemodules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Run tests
run: npm test
- name: Build
run: npm run build