diff --git a/.github/workflows/dependabot-yarn-mirror.yml b/.github/workflows/dependabot-yarn-mirror.yml index ed0b4fdab..1e3620079 100644 --- a/.github/workflows/dependabot-yarn-mirror.yml +++ b/.github/workflows/dependabot-yarn-mirror.yml @@ -15,24 +15,19 @@ jobs: node-version: ['14.x'] steps: - uses: actions/checkout@v2 - with: - token: ${{secrets.GH_TOKEN}} - uses: fregante/setup-git-user@v1 - name: Use Node.js uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} cache: yarn - - name: Get branch name - shell: bash - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" - id: get_branch - name: Update yarn offline mirror if: contains(github.event.pull_request.labels.*.name, 'dependencies') run: | + git checkout -b ${{github.event.pull_request.head.ref}} yarn git add -A if [[ ! -z $(git status -s) ]] ; then git commit -m "chore(yarn): update yarn offline mirror" - git push origin ${{ steps.get_branch.outputs.branch }} + git push origin ${{ github.head_ref }} fi diff --git a/.yarn/offline-mirror/@types-webpack-env-1.14.0.tgz b/.yarn/offline-mirror/@types-webpack-env-1.14.0.tgz deleted file mode 100644 index 770c143b8..000000000 Binary files a/.yarn/offline-mirror/@types-webpack-env-1.14.0.tgz and /dev/null differ diff --git a/.yarn/offline-mirror/@types-webpack-env-1.16.0.tgz b/.yarn/offline-mirror/@types-webpack-env-1.16.0.tgz deleted file mode 100644 index aa3a2ad7f..000000000 Binary files a/.yarn/offline-mirror/@types-webpack-env-1.16.0.tgz and /dev/null differ diff --git a/.yarn/offline-mirror/@types-webpack-env-1.16.3.tgz b/.yarn/offline-mirror/@types-webpack-env-1.16.3.tgz new file mode 100644 index 000000000..169da4a67 Binary files /dev/null and b/.yarn/offline-mirror/@types-webpack-env-1.16.3.tgz differ diff --git a/package.json b/package.json index 8b011dcd6..73cbf3fc4 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "@types/bluebird": "^3.5.36", "@types/jasmine": "^3.10.2", "@types/lodash-es": "^4.17.5", - "@types/webpack-env": "^1.14.0", + "@types/webpack-env": "^1.16.3", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", "@webcomponents/custom-elements": "^1.5.0", diff --git a/yarn.lock b/yarn.lock index 7bc9513f0..af1b0a38d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5620,15 +5620,10 @@ resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" integrity sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ== -"@types/webpack-env@^1.14.0": - version "1.14.0" - resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.14.0.tgz#8edfc5f8e6eae20eeed3ca0d02974ed4ee5e4efc" - integrity sha512-Fv+0gYJzE/czLoRKq+gnXWr4yBpPM3tO3C8pDLFwqVKlMICQUq5OsxwwFZYDaVr7+L6mgNDp16iOcJHEz3J5RQ== - -"@types/webpack-env@^1.16.0": - version "1.16.0" - resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.16.0.tgz#8c0a9435dfa7b3b1be76562f3070efb3f92637b4" - integrity sha512-Fx+NpfOO0CpeYX2g9bkvX8O5qh9wrU1sOF4g8sft4Mu7z+qfe387YlyY8w8daDyDsKY5vUxM0yxkAYnbkRbZEw== +"@types/webpack-env@^1.16.0", "@types/webpack-env@^1.16.3": + version "1.16.3" + resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.16.3.tgz#b776327a73e561b71e7881d0cd6d34a1424db86a" + integrity sha512-9gtOPPkfyNoEqCQgx4qJKkuNm/x0R2hKR7fdl7zvTJyHnIisuE/LfvXOsYWL0o3qq6uiBnKZNNNzi3l0y/X+xw== "@types/webpack-sources@*": version "1.4.2"