diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a322eab --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,37 @@ +name: Quality Check +on: + push: + branches: + - mistress + pull_request: + branches: + - mistress + +jobs: + test: + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + node-version: + - 16 + - 18 + - 20 + runs-on: ${{ matrix.os }} + steps: + - name: Clone repo + uses: actions/checkout@v4 + + - name: Set up node + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm run test