Merge pull request #36 from niftykit-inc/jcurbelo/providers #142
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: Test | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'LICENSE' | |
branches: | |
- main | |
- master | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'LICENSE' | |
branches: | |
- main | |
- master | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
node: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install modules | |
run: yarn install | |
- name: Run Redeemable tests | |
run: yarn workspace @niftykit/contracts build && yarn workspace @niftykit/redeemable test | |
- name: Run DropKit tests | |
run: yarn workspace @niftykit/dropkit test |