Skip to content

Commit

Permalink
chore: add yarn cache to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
emccorson committed Jul 25, 2023
1 parent 1d3ea4a commit df28126
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions .github/workflows/deploy-wallet-at-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Restore yarn cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/package-lock.json'

- name: Install dependencies
run: yarn

Expand All @@ -34,6 +41,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Restore yarn cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/package-lock.json'

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

Expand Down Expand Up @@ -72,6 +86,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Restore yarn cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/package-lock.json'

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

Expand Down Expand Up @@ -107,6 +128,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Restore yarn cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/package-lock.json'

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

Expand Down Expand Up @@ -158,9 +186,14 @@ jobs:
working-directory: ./apps/namada-interface
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2

- name: Restore yarn cache
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/package-lock.json'

- name: Install wasm-pack
uses: jetli/[email protected]
with:
Expand Down

0 comments on commit df28126

Please sign in to comment.