Skip to content

Commit

Permalink
does this work?
Browse files Browse the repository at this point in the history
  • Loading branch information
emccorson committed Jul 24, 2023
1 parent 5560854 commit 1c73b86
Showing 1 changed file with 42 additions and 24 deletions.
66 changes: 42 additions & 24 deletions .github/workflows/deploy-wallet-at-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,63 @@ on:
env:
CI: false
jobs:
lint:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Restore Rust cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
./packages/shared/lib/target
./packages/crypto/lib/target
key: ${{ runner.os }}-rust-cache-${{ hashFiles('**/Cargo.lock') }}

- name: Restore npm cache
uses: actions/cache@v2
with:
path: |
~/node_modules
~/apps/namada-interface/node_modules
~/apps/extension/node_modules
~/packages/chains/node_modules
~/packages/components/node_modules
~/packages/crypto/node_modules
~/packages/hooks/node_modules
~/packages/integrations/node_modules
~/packages/ledger-namada/node_modules
~/packages/rpc/node_modules
~/packages/shared/node_modules
~/packages/storage/node_modules
~/packages/types/node_modules
~/packages/utils/node_modules
key: ${{ runner.os }}-npm-cache-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
run: yarn


lint:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run ESLint
run: yarn lint:ci

unit-tests-js:
needs: lint
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Rust cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
./packages/shared/lib/target
./packages/crypto/lib/target
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

Expand Down Expand Up @@ -78,7 +106,7 @@ jobs:
${{ secrets.SLACK_WEBHOOK_WALLET_PR }}
unit-tests-wasm:
needs: lint
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -119,16 +147,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Rust cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
./packages/shared/lib/target
./packages/crypto/lib/target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

Expand Down

0 comments on commit 1c73b86

Please sign in to comment.