Update dependency @truffle/hdwallet-provider to v2.1.15 #5297
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: cache deps and built sources | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: install deps | |
run: yarn | |
- name: build | |
run: yarn build | |
- name: lint | |
run: yarn lint | |
test-allocator: | |
needs: build | |
env: | |
DIR: allocator | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts | |
test-common: | |
needs: build | |
env: | |
DIR: common/** | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts | |
test-dev: | |
needs: build | |
env: | |
DIR: dev | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts | |
test-lockup: | |
needs: build | |
env: | |
DIR: lockup | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts | |
test-market: | |
needs: build | |
env: | |
DIR: market | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts | |
test-metrics: | |
needs: build | |
env: | |
DIR: metrics | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts | |
test-policy: | |
needs: build | |
env: | |
DIR: policy | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts | |
test-property: | |
needs: build | |
env: | |
DIR: property | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts | |
test-withdraw: | |
needs: build | |
env: | |
DIR: withdraw | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore cache | |
uses: actions/cache@main | |
with: | |
path: | | |
node_modules | |
build | |
types | |
key: ${{ runner.os }}-${{ github.sha }} | |
- name: test | |
run: yarn test test/$DIR/*.ts |