diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f198744ed..b3c8e121a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -183,43 +183,43 @@ jobs: - name: Run e2e tests run: pnpm test:e2e - # test-e2e-rolldown: - # name: E2E test for rolldown build + test-e2e-rolldown: + name: E2E test for rolldown build - # needs: - # - build-rolldown + needs: + - build-rolldown - # strategy: - # matrix: - # os: [ubuntu-latest, windows-latest, macos-latest] - # node: [18.19, 20, 22] + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + node: [18.19, 20, 22] - # runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.os }} - # steps: - # - name: Checkout codes - # uses: actions/checkout@v4 + steps: + - name: Checkout codes + uses: actions/checkout@v4 - # - name: Enable corepack - # run: corepack enable + - name: Enable corepack + run: corepack enable - # - name: Setup node - # uses: actions/setup-node@v4 - # with: - # node-version: ${{ matrix.node }} - # cache: 'pnpm' + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: 'pnpm' - # - name: Install dependencies - # run: pnpm install --no-frozen-lockfile + - name: Install dependencies + run: pnpm install --no-frozen-lockfile - # - name: Install Playwright - # run: pnpm playwright-core install chromium + - name: Install Playwright + run: pnpm playwright-core install chromium - # - name: Restore dist cache - # uses: actions/cache@v4 - # with: - # path: packages/*/dist - # key: build-rolldown-vue-i18n-os-${{ matrix.os }}-${{ github.sha }} + - name: Restore dist cache + uses: actions/cache@v4 + with: + path: packages/*/dist + key: build-rolldown-vue-i18n-os-${{ matrix.os }}-${{ github.sha }} - # - name: Run e2e tests - # run: pnpm test:e2e + - name: Run e2e tests + run: pnpm test:e2e