Skip to content

Commit

Permalink
chore(tests): try fix pnpm test again
Browse files Browse the repository at this point in the history
  • Loading branch information
bigopon committed May 5, 2022
1 parent d8b0107 commit 4e0e059
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Prepare test PNPM
run: |
npm i -g pnpm@6
pnpm install --shamefully-hoist
pnpm install
- name: Test build basic app with PNPM
working-directory: ./tests/app-pnpm
Expand Down
1 change: 1 addition & 0 deletions tests/app-filesystem-cache/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
5 changes: 3 additions & 2 deletions tests/app-filesystem-cache/src/app.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<template>
Hello, how are you feeling today ${appDate.toJSON()}:
</template>
<h1>Hello World</h1>
<compose view-model.bind="viewModel"></compose>
</template>
6 changes: 4 additions & 2 deletions tests/app-filesystem-cache/src/app.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { MyComponent } from "my-component";

export class App {
appDate: Date = new Date();
}
viewModel = MyComponent;
}
1 change: 1 addition & 0 deletions tests/app-filesystem-cache/src/my-component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<template>Test</template>
2 changes: 2 additions & 0 deletions tests/app-filesystem-cache/src/my-component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export class MyComponent {
}
2 changes: 1 addition & 1 deletion tests/app-pnpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dev": "webpack serve",
"build": "webpack --stats-error-details",
"build:prod": "webpack --mode=production",
"prebuild:ci": "pnpm install --shamefully-hoist",
"prebuild:ci": "pnpm install",
"build:ci": "pnpm run build -- --no-stats",
"rimraf": "rimraf dist/**/*.js"
},
Expand Down

0 comments on commit 4e0e059

Please sign in to comment.