Skip to content

Commit

Permalink
1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jfactory-es committed Oct 27, 2024
1 parent 510e409 commit 35f309a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,22 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: npm install, build, and test

- name: Install dependencies
run: npm ci
- name: Run pre-build tests
run: |
npm ci
npm run test:source
npm run test:es:prod
npm run test:es:dev
npm run build
env:
CI: true
- name: Build project
run: npm run build
env:
CI: true
- name: Run post-build tests
run: |
npm run test:source
npm run test:es:prod
npm run test:es:dev
Expand Down
4 changes: 2 additions & 2 deletions scripts/build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function run(filename = 'rollup.jfactory.config.cjs') {

if (envCheckResult.warn.length) {
for (const value of envCheckResult.warn) {
console.warn(colors.red(`Env warning: ${value}`));
console.log(colors.red(`Env warning: ${value}`));
}
}
if (envCheckResult.error.length) {
Expand All @@ -81,7 +81,7 @@ async function run(filename = 'rollup.jfactory.config.cjs') {
process.exit(1);
}
if (warnings.count) {
console.warn(colors.red(`Compilation warnings: ${warnings.count}`));
console.log(colors.red(`Compilation warnings: ${warnings.count}`));
}
})

Expand Down

0 comments on commit 35f309a

Please sign in to comment.