Skip to content

Commit

Permalink
Remove harderned mode from yarn to speed up pr (#4805)
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis authored Sep 16, 2024
1 parent f4ffa88 commit 1123ff6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/lint-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ jobs:
uses: actions/checkout@v4

- name: Use Node.js 20.10.0 LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.10.0
cache: 'yarn'

- name: Install packages
env:
YARN_ENABLE_HARDENED_MODE: 0
run: yarn install --immutable

- name: Run Linter
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-client-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ jobs:
- run: git branch

- name: Use Node.js 20.10.0 LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.10.0
cache: 'yarn'

- name: Install packages
env:
YARN_ENABLE_HARDENED_MODE: 0
run: yarn install --immutable

- name: Run Unit Tests
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ images: $(TARGETS:%=image-%)

## Utilities
yarn-install:
yarn install
@YARN_ENABLE_HARDENED_MODE=1 yarn install

0 comments on commit 1123ff6

Please sign in to comment.