diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 04a9a1a..1ce3f26 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -28,6 +28,7 @@ jobs: - run: npm install - run: npm run beforetest - run: npm run cover + - run: npm run hello - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 with: diff --git a/package.json b/package.json index c4dbdc3..4729c7b 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "precommit": "npm run lint", "prepush": "npm run lint", "clear:jest": "rm -rf ./packages/*/__tests__/__snapshots__", - "pu": "npm run build && lerna publish --force-publish" + "pu": "npm run build && lerna publish --force-publish", + "hello": "node ./scripts/hello.js" }, "devDependencies": { "@babel/core": "^7.13.14", diff --git a/scripts/hello.js b/scripts/hello.js new file mode 100644 index 0000000..4f3ac02 --- /dev/null +++ b/scripts/hello.js @@ -0,0 +1 @@ +console.log('Hello World!') \ No newline at end of file