diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3ef35bca4..fac63873f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,20 +1,28 @@ name: Unit -on: push + +on: + pull_request: + branches: + - next + - main + jobs: - test: + build: runs-on: ubuntu-24.04 + steps: + - name: Checkout ๐Ÿ›Ž + uses: actions/checkout@v4 + + - name: Custom tests ๐Ÿงช + uses: cypress-io/github-action@v6 + with: + command: npm run e2e + + # runs-on: ubuntu-latest # strategy: # matrix: # node-version: [20.x] - steps: - - name: Checkout ๐Ÿ›Ž - uses: actions/checkout@v4 - - - name: Custom tests ๐Ÿงช - uses: cypress-io/github-action@v6 - with: - command: npm run e2e # Run nightwatch tests with github actions # https://nightwatchjs.org/guide/ci-integrations/run-nightwatch-on-github-actions.html