Skip to content

test

test #2

Workflow file for this run

name: test
on: [ push, workflow_dispatch ]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18.x', '20.x']
command: ['node ./request.mjs', 'npm run vitest']
fail-fast: false
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
-
name: Test
run: ${{ matrix.command }}