Skip to content

Commit

Permalink
chore: enable e2e for rolldown bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Jan 7, 2025
1 parent 71b36ca commit 453f50b
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 453f50b

Please sign in to comment.