diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ff0896..70a20d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,25 @@ -name: test-ci-simple +name: CI on: push: - + branches: + - main + - develop + - test-ci + pull_request: jobs: - test: - runs-on: self-hosted - + build: + runs-on: ubuntu-latest steps: - - name: Just echo - run: | - echo "Runner OK" - uname -a + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + ssh-key: ${{ secrets.RUNNER_SSH_KEY }} + node-version: 20 + cache: 'npm' + - name: Install dependencies + run: npm ci + - name: Run unit tests + run: npm test -- --runInBand + - name: Run e2e tests + run: npm run test:e2e -- --runInBand \ No newline at end of file