diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..97fe53c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +on: [push, pull_request] + +jobs: + build: + strategy: + matrix: + runner: [windows-latest, macos-15-intel, ubuntu-latest] + node-version: [lts/-2, lts/-1, latest] + runs-on: ${{ matrix.runner }} + steps: + - uses: actions/checkout@v4 + + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - run: npm test + name: Run test