Skip to content

Commit

Permalink
temp: temporary removing yarn poisoning
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrorezende committed Jan 12, 2025
1 parent 44063db commit ef39465
Showing 1 changed file with 21 additions and 26 deletions.
47 changes: 21 additions & 26 deletions .github/workflows/deploy-wallet-at-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,30 @@ jobs:
# Running yarn install in hardened mode here makes it safe to run the other
# jobs without hardened mode, which is good because hardened mode is slow.
# https://yarnpkg.com/features/security#hardened-mode
check-yarn-lock-poisoning:
name: Check for yarn.lock poisoning
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Check if yarn.lock changed
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
lockfile:
- "yarn.lock"
- name: Check yarn.lock for lockfile poisoning
if: steps.filter.outputs.lockfile == 'true'
uses: ./.github/actions/yarn-cache
env:
YARN_ENABLE_HARDENED_MODE: 1

# check-yarn-lock-poisoning:
# name: Check for yarn.lock poisoning
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
#
# - name: Check if yarn.lock changed
# uses: dorny/paths-filter@v3
# id: filter
# with:
# filters: |
# lockfile:
# - "yarn.lock"
#
# - name: Check yarn.lock for lockfile poisoning
# if: steps.filter.outputs.lockfile == 'true'
# uses: ./.github/actions/yarn-cache
# env:
# YARN_ENABLE_HARDENED_MODE: 1
#
lint:
name: Lint
runs-on: ubuntu-latest
needs: [check-yarn-lock-poisoning]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -47,7 +46,6 @@ jobs:

unit-tests-js:
name: JS unit tests
needs: [check-yarn-lock-poisoning]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -73,7 +71,6 @@ jobs:

unit-tests-wasm:
name: WASM unit tests
needs: [check-yarn-lock-poisoning]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -99,7 +96,6 @@ jobs:

build-interface:
name: Build Namadillo
needs: [check-yarn-lock-poisoning]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -126,7 +122,6 @@ jobs:

build-extension-chrome:
name: Build Chrome extension
needs: [check-yarn-lock-poisoning]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit ef39465

Please sign in to comment.