Skip to content

Commit

Permalink
ci: test module with built package
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Aug 19, 2022
1 parent cb7ede4 commit d73c07d
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -66,6 +66,9 @@ jobs:
test-fixtures:
runs-on: ${{ matrix.os }}

needs:
- build

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand All @@ -81,17 +84,27 @@ jobs:
- name: Install dependencies
run: yarn --immutable

# TODO: address conflict between jiti + @vitejs/plugin-vue
- name: Restore dist cache
uses: actions/cache@v3
with:
path: packages/*/dist
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }}

- name: Test (fixtures)
run: yarn test:fixtures

# - name: Test (fixtures with dev)
# run: yarn test:fixtures:dev
# env:
# NODE_OPTIONS: --max-old-space-size=8192
- name: Test (fixtures with dev)
run: yarn test:fixtures:dev
env:
NODE_OPTIONS: --max-old-space-size=8192

test-fixtures-webpack:
runs-on: ${{ matrix.os }}

needs:
- build

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand All @@ -107,6 +120,13 @@ jobs:
- name: Install dependencies
run: yarn --immutable

# TODO: address conflict between jiti babel transform + @vitejs/plugin-vue
- name: Restore dist cache
uses: actions/cache@v3
with:
path: packages/*/dist
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }}

- name: Test (fixtures)
run: yarn test:fixtures:webpack

Expand Down

0 comments on commit d73c07d

Please sign in to comment.