diff --git a/.github/workflows/coverage.yml b/.github/workflows/build.yml similarity index 61% rename from .github/workflows/coverage.yml rename to .github/workflows/build.yml index b841a8ef..1e807eae 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/build.yml @@ -15,14 +15,18 @@ jobs: # Required to put a comment into the pull-request pull-requests: write + strategy: + matrix: + node-version: [18.x] + steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: ${{ matrix.node-version }} - name: 'Install Deps' run: yarn install - name: 'Test' @@ -30,3 +34,13 @@ jobs: - name: 'Report Coverage' if: always() # Also generate the report if tests are failing uses: davelosert/vitest-coverage-report-action@v2 + + - run: npm run "build bex (publish)" + - run: npx playwright install + - run: npm run test:e2e + - uses: actions/upload-artifact@v4 +# if: ${{ !cancelled() }} + with: + name: playwright-report + path: playwright-report/ + retention-days: 30 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml_ similarity index 97% rename from .github/workflows/e2e.yml rename to .github/workflows/e2e.yml_ index 58980c77..22a3112d 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml_ @@ -1,4 +1,4 @@ -name: Node.js CI +name: E2E run-name: E2E Tests on: push: