From 5c44562fe3a313bb326a8b4f08d5d2ef74281d91 Mon Sep 17 00:00:00 2001 From: Yang Libin Date: Wed, 10 May 2023 19:58:10 +0800 Subject: [PATCH] chore: upgrade actions version (#211) --- .github/workflows/build.yml | 2 +- .github/workflows/preview-build.yml | 4 ++-- .github/workflows/preview-start.yml | 2 +- package-lock.json | 28 +++++++++++----------------- 4 files changed, 15 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35afeaa..1b09413 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: run: npm run build - name: Deploy - uses: JamesIves/github-pages-deploy-action@4.1.5 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: dist diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 8c3f95b..a13e005 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -24,7 +24,7 @@ jobs: npm run build:h5-netlify - name: Upload dist artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: dist path: dist @@ -36,7 +36,7 @@ jobs: - name: Upload PR number if: ${{ always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: pr path: ./pr-id.txt diff --git a/.github/workflows/preview-start.yml b/.github/workflows/preview-start.yml index 005591c..9f191c5 100644 --- a/.github/workflows/preview-start.yml +++ b/.github/workflows/preview-start.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Create - uses: actions-cool/maintain-one-comment@v2 + uses: actions-cool/maintain-one-comment@v3 with: token: ${{ secrets.GITHUB_TOKEN }} body: | diff --git a/package-lock.json b/package-lock.json index 0839877..d574c23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21655,10 +21655,9 @@ }, "node_modules/npm/node_modules/lodash._baseindexof": { "version": "3.1.0", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/npm/node_modules/lodash._baseuniq": { "version": "4.6.0", @@ -21673,24 +21672,21 @@ }, "node_modules/npm/node_modules/lodash._bindcallback": { "version": "3.0.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/npm/node_modules/lodash._cacheindexof": { "version": "3.0.2", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/npm/node_modules/lodash._createcache": { "version": "3.1.2", - "dev": true, + "extraneous": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "lodash._getnative": "^3.0.0" } @@ -21704,10 +21700,9 @@ }, "node_modules/npm/node_modules/lodash._getnative": { "version": "3.9.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/npm/node_modules/lodash._root": { "version": "3.0.1", @@ -21725,10 +21720,9 @@ }, "node_modules/npm/node_modules/lodash.restparam": { "version": "3.6.1", - "dev": true, + "extraneous": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/npm/node_modules/lodash.union": { "version": "4.6.0",