Skip to content

Commit

Permalink
fix(ci): add packages npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomchan-cxj committed Feb 9, 2022
1 parent b819e10 commit 6a9804e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/frontend.yml
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 10.x, 14.x ]
node: [ 14.x ]
steps:
- uses: actions/checkout@v2
- name: setup-node
Expand All @@ -42,7 +42,7 @@ jobs:
node-version: ${{ matrix.node }}
registry-url: https://npm.pkg.github.com
- name: install
run: npm install
run: npm install && lerna bootstrap
- name: lint
run: npm run lint
- name: test
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"author": "Hippy Team <hippy@tencent.com>",
"license": "Apache-2.0",
"engines": {
"node": ">=10.0.0"
"node": ">=14.0.0"
},
"scripts": {
"build": "node ./scripts/build.js",
Expand Down
4 changes: 0 additions & 4 deletions scripts/build.js
@@ -1,5 +1,3 @@
/* eslint-disable no-console */

const path = require('path');
const { rollup } = require('rollup');
const reactBuilds = require('./react-configs').getAllBuilds();
Expand Down Expand Up @@ -33,8 +31,6 @@ async function buildEntry(config) {
await bundle.generate(output);
const { output: [{ code }] } = await bundle.write(output);
console.log(`${blue(path.relative(process.cwd(), file))} ${getSize(code)}`);
// console.log('');
// console.log(`generate d.ts for ${name}`);
}

function build(buildSets) {
Expand Down

0 comments on commit 6a9804e

Please sign in to comment.