Skip to content

Merge pull request #7 from blutui/fix/add-header-to-fetch #17

Merge pull request #7 from blutui/fix/add-header-to-fetch

Merge pull request #7 from blutui/fix/add-header-to-fetch #17

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
name: Node ${{ matrix.node }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Install dependencies
run: |
npm install
- name: Run tests
run: |
npm run test