Skip to content

Commit

Permalink
优化build.yml文件 v3
Browse files Browse the repository at this point in the history
  • Loading branch information
kaokei committed Nov 22, 2024
1 parent 2db50f1 commit b69b362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: my-artifact
path: dist
Expand All @@ -55,7 +55,7 @@ jobs:
with:
node-version: 20
cache: 'pnpm'
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: my-artifact
- run: echo "hello world"
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default defineConfig({
environment: 'jsdom',
coverage: {
include: ['src/**/*.ts'],
reporter: ['text', 'lcov'],
},
},
});

0 comments on commit b69b362

Please sign in to comment.