fix: aligned TezosTransactionParameters with Tezos p2p API #6
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: Deploy to Netlify on pull requests | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout repo | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Node 16 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Prepare | |
run: npm ci | |
- name: Install Netlify | |
run: npm install netlify-cli -g | |
- name: Build site | |
run: npm run build | |
- name: Copy files | |
run: | | |
mkdir -p public | |
mv examples/* public/ | |
# Deploy the site with netlify-cli | |
- name: Deploy Site | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
run: netlify deploy --dir=public --filter packages/beacon-sdk --alias=$GITHUB_SHA --message=$GITHUB_SHA |