From 160ec779404be276f4953d3d760bc21d0dddb1db Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Thu, 20 May 2021 10:31:25 +0200 Subject: [PATCH] devops: Notice yarn.lock changes (#145) * test * Update notice-yarn-changes.yml * upgrade prettier --- .github/workflows/notice-new-dependencies.yml | 13 ------------- .github/workflows/notice-yarn-changes.yml | 17 +++++++++++++++++ package.json | 2 +- yarn.lock | 7 ++++++- 4 files changed, 24 insertions(+), 15 deletions(-) delete mode 100644 .github/workflows/notice-new-dependencies.yml create mode 100644 .github/workflows/notice-yarn-changes.yml diff --git a/.github/workflows/notice-new-dependencies.yml b/.github/workflows/notice-new-dependencies.yml deleted file mode 100644 index 76ea545..0000000 --- a/.github/workflows/notice-new-dependencies.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Notice new dependencies -on: - - pull_request - -jobs: - notice_new_dependencies: - name: Notice new dependencies - runs-on: ubuntu-latest - steps: - - name: Check for new dependencies - uses: hiwelo/new-dependencies-action@1.0.1 - with: - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/notice-yarn-changes.yml b/.github/workflows/notice-yarn-changes.yml new file mode 100644 index 0000000..12cc5f9 --- /dev/null +++ b/.github/workflows/notice-yarn-changes.yml @@ -0,0 +1,17 @@ +name: Notice yarn.lock changes +on: [pull_request] + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Notice yarn.lock changes + uses: Simek/yarn-lock-changes@main + with: + token: ${{ secrets.GITHUB_TOKEN }} + collapsibleThreshold: '25' + failOnDowngrade: 'false' + path: 'yarn.lock' + updateComment: 'true' diff --git a/package.json b/package.json index b6c8839..d5ff8d4 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "eslint-plugin-react-native": "^3.10.0", "jest": "^26.0.1", "pod-install": "^0.1.0", - "prettier": "^2.2.1", + "prettier": "^2.3.0", "react": "17.0.2", "react-native": "0.64.0", "react-native-builder-bob": "^0.18.1", diff --git a/yarn.lock b/yarn.lock index fc8e306..e1e7070 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7206,11 +7206,16 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^2.0.2, prettier@^2.2.1: +prettier@^2.0.2: version "2.2.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== +prettier@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18" + integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w== + pretty-format@^26.5.2, pretty-format@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93"