chore(misc): fix various ci issue

*some of them shown cancelled instead of failed. Need to address this issue later
This commit is contained in:
NeverBehave 2021-08-12 21:57:56 -07:00
parent e2a11a2003
commit fe4c82ef2d
5 changed files with 26119 additions and 73 deletions

View File

@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: npm ci
- run: npm run jest
env:
REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}/

View File

@ -19,9 +19,9 @@ RUN if [ "$USE_CHINA_NPM_REGISTRY" = 1 ]; then \
RUN npm i -g npm
RUN if [ "$PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" = 0 ]; then \
unset PUPPETEER_SKIP_CHROMIUM_DOWNLOAD && npm install ;\
unset PUPPETEER_SKIP_CHROMIUM_DOWNLOAD && npm ci ;\
else \
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true && npm install ;\
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true && npm ci ;\
fi;
RUN node tools/minify-docker.js

View File

@ -2556,18 +2556,6 @@ column 为 third 时可选的 category:
</Route>
## 中国计算机学会
### 新闻
<Route author="nczitzk" example="/ccf/news" path="/ccf/news/:category?" :paramsDesc="['分类,见下表,默认为 CCF 新闻']">
| CCF 新闻 | CCF 聚焦 | ACM 信息 |
| ---------- | -------- | -------- |
| Media_list | Focus | ACM_News |
</Route>
## 中国科学院青年创新促进会
### 最新博文

26171
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -45,10 +45,10 @@
"@vuepress/plugin-google-analytics": "1.8.2",
"@vuepress/plugin-pwa": "1.8.2",
"cross-env": "7.0.3",
"globby": "11.0.2",
"eslint": "7.29.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"globby": "11.0.2",
"jest": "26.6.3",
"mockdate": "3.0.5",
"nock": "13.0.11",
@ -91,6 +91,7 @@
"iconv-lite": "0.6.2",
"instagram-private-api": "1.44.1",
"ioredis": "4.27.2",
"ip": "*",
"ip-regex": "4.2.0",
"is-localhost-ip": "1.4.0",
"jsdom": "16.5.3",