From 144c2059479efacc82c7e3011249f993be2667d1 Mon Sep 17 00:00:00 2001 From: blu3mania Date: Sat, 1 Apr 2023 10:37:42 -0400 Subject: [PATCH] Add Test workflow --- .github/workflows/test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..71a5ea7 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: Test + +on: + workflow_dispatch: + push: + branches: [main] + pull_request: + types: [opened, synchronize, reopened] + branches: [main] + +jobs: + Test: + runs-on: windows-latest + strategy: + matrix: + node: [16, 18] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install required node.js version + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + + - name: Test package installation + run: npm install