Add new transaction types #113
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: Deno | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
deno: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
deno-version: [v1.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Fix Windows Git autocrlf | |
run: git config --global core.autocrlf false | |
if: matrix.os == 'windows-latest' | |
- uses: actions/checkout@v2 | |
- name: Setup Deno ${{ matrix.deno-version }} | |
uses: denolib/setup-deno@v2 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: Generate Deno source from TS | |
run: ./generate-deno.sh | |
- run: deno lint --unstable mod.ts deno/*.ts deno/*/* | |
- run: deno test --allow-read=.env,.env.defaults --allow-env=DEBUG,XUMM_API* mod.ts | |
env: | |
XUMM_APIKEY: aaaaaaaa-cccc-eeee-1111-333333333333 | |
XUMM_APISECRET: bbbbbbbb-dddd-ffff-2222-444444444444 |