Skip to content

Commit

Permalink
Merge pull request #8 from podcastless:develop
Browse files Browse the repository at this point in the history
🙄
  • Loading branch information
pandres95 authored Mar 19, 2020
2 parents 2b1bade + 60ba398 commit 81be34f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm start -- generate -c ${{env.working-directory}}/nuxt.config.cjs
- run: npm start -- generate -c $(pwd)/nuxt.config.cjs
env:
CI: true
- run: cp CNAME dist/CNAME
Expand Down
5 changes: 3 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ const { JSDOM } = jsdom;
// Init Nuxt.js and create a server listening on localhost:4000
test.before(async ({ context }) => {
const rootDir = process.cwd();
const { default: fileConfig } = await import(resolve(rootDir, 'nuxt.config.cjs'));

const config = {
...await import(resolve(rootDir, 'nuxt.config.cjs')),
mode: 'spa'
...fileConfig,
mode: 'universal'
};

context.server = new Nuxt(config);
Expand Down

0 comments on commit 81be34f

Please sign in to comment.