Skip to content

Commit 05ed193

Browse files
tf-setidavidsalvador-tfpromiseNwafor
authored
fix(PLT-3359): harden yarn configuration (#737)
* fix(PLT-3359): harden yarn configuration * fix(PLT-3359): Update workflows --------- Co-authored-by: David <david.salvador@typeform.com> Co-authored-by: promiseNwafor <promise.nwafor@typeform.com>
1 parent a2c87c2 commit 05ed193

4 files changed

Lines changed: 16 additions & 3 deletions

File tree

.github/dependabot.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
version: 2
2-
32
registries:
43
npm-github:
54
type: npm-registry
@@ -10,7 +9,6 @@ registries:
109
url: https://github.com
1110
username: x-access-token
1211
password: '${{ secrets.GH_TOKEN }}'
13-
1412
updates:
1513
- package-ecosystem: npm
1614
schedule:
@@ -27,7 +25,14 @@ updates:
2725
registries:
2826
- npm-github
2927
- git-github
30-
28+
cooldown:
29+
default-days: 7
30+
exclude:
31+
- '@typeform/*'
32+
ignore:
33+
- dependency-name: semantic-release
34+
versions:
35+
- '>=25.0.0'
3136
- package-ecosystem: github-actions
3237
schedule:
3338
interval: weekly

.github/workflows/pull-request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
if: steps.yarn-cache.outputs.cache-hit != 'true'
7777
run: yarn install --frozen-lockfile
7878

79+
- name: Install Cypress binary
80+
run: yarn cypress install
81+
7982
- run: yarn build
8083
- run: yarn test:functional
8184

.github/workflows/visual.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
if: steps.yarn-cache.outputs.cache-hit != 'true'
3434
run: yarn install --frozen-lockfile
3535

36+
- name: Install Cypress binary
37+
run: yarn cypress install
38+
3639
- run: yarn build
3740

3841
- run: yarn test:visual

.yarnrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ignore-scripts true
2+
save-exact true

0 commit comments

Comments
 (0)