Skip to content

Commit 6e55e25

Browse files
committed
fix: simplify github action & fix test fixtures config
1 parent 8117e97 commit 6e55e25

File tree

5 files changed

+5
-18
lines changed

5 files changed

+5
-18
lines changed

.github/workflows/publish.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: npm ci
1717
- run: npm run build
18-
- name: Auto Test
19-
run: npm run test
20-
- name: Coverage
18+
- name: Auto Test with Coverage
2119
run: npm run coverage
2220
- name: Upload coverage reports to Codecov with GitHub Action
2321
uses: codecov/codecov-action@v3

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ TODOs.md
44
temp
55
.DS_Store
66
debug
7-
lib
7+
lib
8+
coverage

coverage/coverage-summary.json

-12
This file was deleted.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-auto-mpa-html",
3-
"version": "0.1.1",
3+
"version": "0.1.1-alpha.0",
44
"description": "A vite plugin for generating HTML entries automatically.",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

tests/fixtures/vite.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineConfig } from 'vite'
22
import react from '@vitejs/plugin-react'
3-
import autoMpaHTMLPlugin from '../../dist/index'
3+
import autoMpaHTMLPlugin from '../../dist/index.js'
44

55
// https://vitejs.dev/config/
66
export default defineConfig({

0 commit comments

Comments
 (0)