Skip to content

Refactor code and simplify file processing #54

Refactor code and simplify file processing

Refactor code and simplify file processing #54

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
jobs:
main:
timeout-minutes: 15
runs-on: ubuntu-latest
name: Run tests on Node ${{ matrix.node }}
strategy:
matrix:
node: [16, 18]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Install modules
run: npm ci
- name: Run tests
run: npm run test