Skip to content

Commit 26be152

Browse files
Fix dirty yarn lock and add CI check (#2662)
1 parent 68c28e5 commit 26be152

File tree

2 files changed

+109
-16
lines changed

2 files changed

+109
-16
lines changed

.github/workflows/buildandtest.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,24 @@ jobs:
6161
run: yarn lint
6262
working-directory: sample-new-architecture
6363

64+
job_check_integrity:
65+
name: Check package integrity
66+
runs-on: ubuntu-latest
67+
steps:
68+
- uses: actions/checkout@v3
69+
- uses: actions/cache@v3
70+
id: cache
71+
with:
72+
path: node_modules
73+
key: ${{ runner.os }}-${{ github.sha }}
74+
- name: Save initial lock file
75+
run: cp yarn.lock yarn.lock.initial
76+
- name: Install Dependencies (update lock if necessary)
77+
run: yarn install
78+
- name: Check lock file integrity
79+
run: |
80+
["$(diff yarn.lock.initial yarn.lock)" -eq ""]
81+
6482
job_build:
6583
name: Build
6684
runs-on: ubuntu-latest

yarn.lock

Lines changed: 91 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2051,6 +2051,11 @@ ansi-fragments@^0.2.1:
20512051
slice-ansi "^2.0.0"
20522052
strip-ansi "^5.0.0"
20532053

2054+
ansi-regex@^2.0.0:
2055+
version "2.1.1"
2056+
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
2057+
integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==
2058+
20542059
ansi-regex@^3.0.0:
20552060
version "3.0.0"
20562061
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
@@ -2107,6 +2112,11 @@ appdirsjs@^1.2.4:
21072112
resolved "https://registry.yarnpkg.com/appdirsjs/-/appdirsjs-1.2.7.tgz#50b4b7948a26ba6090d4aede2ae2dc2b051be3b3"
21082113
integrity sha512-Quji6+8kLBC3NnBeo14nPDq0+2jUs5s3/xEye+udFHumHhRk4M7aAMXp/PBJqkKYGuuyR9M/6Dq7d2AViiGmhw==
21092114

2115+
aproba@^1.0.3:
2116+
version "1.2.0"
2117+
resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
2118+
integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==
2119+
21102120
"aproba@^1.0.3 || ^2.0.0":
21112121
version "2.0.0"
21122122
resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc"
@@ -2120,6 +2130,14 @@ are-we-there-yet@^3.0.0:
21202130
delegates "^1.0.0"
21212131
readable-stream "^3.6.0"
21222132

2133+
are-we-there-yet@~1.1.2:
2134+
version "1.1.7"
2135+
resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz#b15474a932adab4ff8a50d9adfa7e4e926f21146"
2136+
integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==
2137+
dependencies:
2138+
delegates "^1.0.0"
2139+
readable-stream "^2.0.6"
2140+
21232141
argparse@^1.0.7:
21242142
version "1.0.10"
21252143
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
@@ -2747,6 +2765,11 @@ co@^4.6.0:
27472765
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
27482766
integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=
27492767

2768+
code-point-at@^1.0.0:
2769+
version "1.1.0"
2770+
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
2771+
integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==
2772+
27502773
collection-visit@^1.0.0:
27512774
version "1.0.0"
27522775
resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
@@ -2861,7 +2884,7 @@ connect@^3.6.5:
28612884
parseurl "~1.3.3"
28622885
utils-merge "1.0.1"
28632886

2864-
console-control-strings@^1.1.0:
2887+
console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control-strings@~1.1.0:
28652888
version "1.1.0"
28662889
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
28672890
integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==
@@ -3844,6 +3867,20 @@ gauge@^4.0.3:
38443867
strip-ansi "^6.0.1"
38453868
wide-align "^1.1.5"
38463869

3870+
gauge@~2.7.3:
3871+
version "2.7.4"
3872+
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
3873+
integrity sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==
3874+
dependencies:
3875+
aproba "^1.0.3"
3876+
console-control-strings "^1.0.0"
3877+
has-unicode "^2.0.0"
3878+
object-assign "^4.1.0"
3879+
signal-exit "^3.0.0"
3880+
string-width "^1.0.1"
3881+
strip-ansi "^3.0.1"
3882+
wide-align "^1.1.0"
3883+
38473884
gensync@^1.0.0-beta.1:
38483885
version "1.0.0-beta.1"
38493886
resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269"
@@ -4003,7 +4040,7 @@ has-tostringtag@^1.0.0:
40034040
dependencies:
40044041
has-symbols "^1.0.2"
40054042

4006-
has-unicode@^2.0.1:
4043+
has-unicode@^2.0.0, has-unicode@^2.0.1:
40074044
version "2.0.1"
40084045
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
40094046
integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==
@@ -4353,6 +4390,13 @@ is-extglob@^2.1.1:
43534390
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
43544391
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
43554392

4393+
is-fullwidth-code-point@^1.0.0:
4394+
version "1.0.0"
4395+
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb"
4396+
integrity sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==
4397+
dependencies:
4398+
number-is-nan "^1.0.0"
4399+
43564400
is-fullwidth-code-point@^2.0.0:
43574401
version "2.0.0"
43584402
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
@@ -5976,6 +6020,16 @@ npm-run-path@^2.0.0:
59766020
dependencies:
59776021
path-key "^2.0.0"
59786022

6023+
npmlog@^4.1.2:
6024+
version "4.1.2"
6025+
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
6026+
integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
6027+
dependencies:
6028+
are-we-there-yet "~1.1.2"
6029+
console-control-strings "~1.1.0"
6030+
gauge "~2.7.3"
6031+
set-blocking "~2.0.0"
6032+
59796033
npmlog@^6.0.1:
59806034
version "6.0.2"
59816035
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830"
@@ -5991,6 +6045,11 @@ nullthrows@^1.1.1:
59916045
resolved "https://registry.yarnpkg.com/nullthrows/-/nullthrows-1.1.1.tgz#7818258843856ae971eae4208ad7d7eb19a431b1"
59926046
integrity sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==
59936047

6048+
number-is-nan@^1.0.0:
6049+
version "1.0.1"
6050+
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
6051+
integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==
6052+
59946053
nwsapi@^2.0.7:
59956054
version "2.2.0"
59966055
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
@@ -6006,10 +6065,10 @@ ob1@0.72.3:
60066065
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.72.3.tgz#fc1efcfe156f12ed23615f2465a796faad8b91e4"
60076066
integrity sha512-OnVto25Sj7Ghp0vVm2THsngdze3tVq0LOg9LUHsAVXMecpqOP0Y8zaATW8M9gEgs2lNEAcCqV0P/hlmOPhVRvg==
60086067

6009-
object-assign@^4.1.1:
6068+
object-assign@^4.1.0, object-assign@^4.1.1:
60106069
version "4.1.1"
60116070
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
6012-
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
6071+
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
60136072

60146073
object-copy@^0.1.0:
60156074
version "0.1.0"
@@ -6700,16 +6759,7 @@ read-pkg@^3.0.0:
67006759
normalize-package-data "^2.3.2"
67016760
path-type "^3.0.0"
67026761

6703-
readable-stream@^3.4.0, readable-stream@^3.6.0:
6704-
version "3.6.0"
6705-
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
6706-
integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
6707-
dependencies:
6708-
inherits "^2.0.3"
6709-
string_decoder "^1.1.1"
6710-
util-deprecate "^1.0.1"
6711-
6712-
readable-stream@~2.3.6:
6762+
readable-stream@^2.0.6, readable-stream@~2.3.6:
67136763
version "2.3.7"
67146764
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
67156765
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
@@ -6722,6 +6772,15 @@ readable-stream@~2.3.6:
67226772
string_decoder "~1.1.1"
67236773
util-deprecate "~1.0.1"
67246774

6775+
readable-stream@^3.4.0, readable-stream@^3.6.0:
6776+
version "3.6.0"
6777+
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
6778+
integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
6779+
dependencies:
6780+
inherits "^2.0.3"
6781+
string_decoder "^1.1.1"
6782+
util-deprecate "^1.0.1"
6783+
67256784
readline@^1.3.0:
67266785
version "1.3.0"
67276786
resolved "https://registry.yarnpkg.com/readline/-/readline-1.3.0.tgz#c580d77ef2cfc8752b132498060dc9793a7ac01c"
@@ -7155,7 +7214,7 @@ serve-static@^1.13.1:
71557214
parseurl "~1.3.3"
71567215
send "0.17.1"
71577216

7158-
set-blocking@^2.0.0:
7217+
set-blocking@^2.0.0, set-blocking@~2.0.0:
71597218
version "2.0.0"
71607219
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
71617220
integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
@@ -7438,6 +7497,15 @@ string-length@^2.0.0:
74387497
astral-regex "^1.0.0"
74397498
strip-ansi "^4.0.0"
74407499

7500+
string-width@^1.0.1:
7501+
version "1.0.2"
7502+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
7503+
integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==
7504+
dependencies:
7505+
code-point-at "^1.0.0"
7506+
is-fullwidth-code-point "^1.0.0"
7507+
strip-ansi "^3.0.0"
7508+
74417509
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.3:
74427510
version "4.2.3"
74437511
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
@@ -7535,6 +7603,13 @@ string_decoder@~1.1.1:
75357603
dependencies:
75367604
safe-buffer "~5.1.0"
75377605

7606+
strip-ansi@^3.0.0, strip-ansi@^3.0.1:
7607+
version "3.0.1"
7608+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
7609+
integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==
7610+
dependencies:
7611+
ansi-regex "^2.0.0"
7612+
75387613
strip-ansi@^4.0.0:
75397614
version "4.0.0"
75407615
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
@@ -8167,7 +8242,7 @@ which@^2.0.1, which@^2.0.2:
81678242
dependencies:
81688243
isexe "^2.0.0"
81698244

8170-
wide-align@^1.1.5:
8245+
wide-align@^1.1.0, wide-align@^1.1.5:
81718246
version "1.1.5"
81728247
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3"
81738248
integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==

0 commit comments

Comments
 (0)