利用GitHub Actions实现CI/CD管道工作流程

创建此存储库是为了学习使用GitHub Actions构建CI/CD管道。结构如下:name: 流程名称 on: 触发此流程的动作 jobs: 执行的步骤 Linter:Eslint 测试:Jest(单元和集成) E2E测试:Cypress 指令 首先在项目文件夹中运行 npm install npm start 运行webpack开发服务器 npm test 运行测试 npm run eslint 运行eslint npm run build 生成生产版本 npm run start-prod 运行生产版本
zip
cicd-github-actions-master.zip 预估大小:30个文件
folder
cicd-github-actions-master 文件夹
file
.babelrc 151B
file
package.json 2KB
folder
cypress 文件夹
folder
support 文件夹
file
index.js 670B
file
commands.js 838B
folder
videos 文件夹
folder
examples 文件夹
file
pokedex.js.mp4 68KB
folder
integration 文件夹
file
pokedex.js 422B
folder
fixtures 文件夹
file
example.json 154B
folder
.github 文件夹
folder
workflows 文件夹
file
github-pipeline.yml 2KB
folder
test 文件夹
file
PokemonList.jest.spec.jsx 712B
file
App.jest.spec.jsx 1KB
file
PokemonPage.jest.spec.jsx 3KB
file
Procfile 23B
file
package-lock.json 519KB
folder
src 文件夹
file
App.jsx 1KB
file
ErrorMessage.jsx 166B
file
PokemonPage.jsx 2KB
file
index.jsx 163B
file
PokemonAbility.jsx 288B
file
styles.css 3KB
file
LoadingSpinner.jsx 237B
file
useApi.js 521B
file
PokemonList.jsx 568B
file
.eslintrc.js 869B
file
.gitignore 32B
file
webpack.config.js 870B
file
cypress.json 3B
folder
public 文件夹
file
index.html 229B
file
app.js 371B
file
README.md 577B
file
.eslintignore 38B
zip 文件大小:205.24KB