build(deps): bump ejs from 3.1.8 to 3.1.10 #236
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Page Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
check-latest: true | |
cache: yarn | |
cache-dependency-path: yarn.lock | |
- name: Install Node.js dependencies | |
run: yarn install | |
- name: Page Build | |
env: | |
REACT_APP_SITE_TITLE: 哈尔滨工业大学开源镜像站 | |
REACT_APP_ORG_NAME: 哈尔滨工业大学Linux用户协会 | |
REACT_APP_ORG_LINK: https://github.com/hitlug | |
REACT_APP_SPONSOR_NAME: 哈尔滨工业大学网络与信息中心 | |
GENERATE_SOURCEMAP: false | |
run: yarn build | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Production Build | |
path: build | |
buildsz: | |
name: Page Build(深圳) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
check-latest: true | |
cache: yarn | |
cache-dependency-path: yarn.lock | |
- name: Install Node.js dependencies | |
run: yarn install | |
- name: Page Build | |
env: | |
REACT_APP_SITE_TITLE: 哈尔滨工业大学(深圳)开源镜像站 | |
REACT_APP_ORG_NAME: 哈尔滨工业大学(深圳)计算机研究协会 | |
REACT_APP_ORG_LINK: https://github.com/hitszcra | |
REACT_APP_SPONSOR_NAME: 哈尔滨工业大学(深圳)实验与创新实践中心 | |
GENERATE_SOURCEMAP: false | |
run: yarn build | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Production Build(深圳) | |
path: build |