diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e69de29..db9ca20 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: + - feature/integrate-github-actions + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + containers: [1, 2, 3] + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npx cypress run --record --parallel --group ${{ matrix.containers }} +