@@ -857,7 +857,7 @@ steps:
857
857
<!--rehype:className=style-list-->
858
858
859
859
# ## 在 Github 中创建 Docker 镜像
860
- <!--rehype:wrap-class=row-span-3 -->
860
+ <!--rehype:wrap-class=row-span-2 col-span-2 -->
861
861
862
862
` ` ` yml
863
863
- name: Set up Docker Buildx
@@ -887,8 +887,19 @@ steps:
887
887
tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}}
888
888
` ` `
889
889
890
+ # ## 生成贡献者头像列表
891
+
892
+ ` ` ` yml
893
+ - name: Generate Contributors Images
894
+ uses: jaywcjlove/github-action-contributors@main
895
+ id: contributors
896
+ with:
897
+ output: dist/CONTRIBUTORS.svg
898
+ avatarSize: 42
899
+ ` ` `
900
+
890
901
# ## 在 Docker Hub 中创建 Docker 镜像
891
- <!--rehype:wrap-class=row-span-3-->
902
+ <!--rehype:wrap-class=row-span-3 col-span-2 -->
892
903
893
904
` ` ` yml
894
905
- name: Set up Docker Buildx
@@ -926,28 +937,27 @@ steps:
926
937
node-version: 16
927
938
` ` `
928
939
929
- # ## 生成贡献者头像列表
930
-
931
- ` ` ` yml
932
- - name: Generate Contributors Images
933
- uses: jaywcjlove/github-action-contributors@main
934
- id: contributors
935
- with:
936
- output: dist/CONTRIBUTORS.svg
937
- avatarSize: 42
938
- ` ` `
939
-
940
940
# ## 忽略失败
941
941
942
942
` ` ` yml
943
943
- run: npm publish
944
944
continue-on-error: true
945
945
env:
946
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
946
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
947
947
` ` `
948
948
949
949
当 `npm` 推送包失败不影响整个流程,可用于自动发包
950
950
951
+ # ## 安装 yarn
952
+
953
+ ` ` ` yml
954
+ - name: Setup Yarn
955
+
956
+ with:
957
+ cache: false
958
+ version: 1.22.21
959
+ ` ` `
960
+
951
961
GitLab CI/CD 迁移到 GitHub Actions
952
962
---
953
963
0 commit comments