Feature: setup gas #929
Workflow file for this run
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: Verify | |
on: | |
push: | |
branches: | |
- master | |
- ci/* | |
- release/* | |
pull_request: | |
branches: | |
- master | |
jobs: | |
verify-dependencies: | |
name: Verify dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install dependencies checker | |
run: npm install -g @emeraldpay/paranoid-js | |
- name: Check dependencies | |
run: paranoid -p -u -e @emeraldpay/*,@emeraldwallet/* . | |
verify-license: | |
name: Verify Licenses | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
# This is for the official version | |
# ------------------------------ | |
# - name: Install license checker | |
# run: npm install -g js-green-licenses | |
# | |
# - name: Check licenses | |
# run: jsgl --local . | |
# ------------------------------ | |
# This is for the patched version | |
# ------------------------------ | |
- name: Install license checker | |
uses: actions/checkout@master | |
with: | |
repository: emeraldpay/js-green-licenses | |
ref: dev | |
path: jsgl | |
- name: Prepare jsgl | |
run: | | |
cd jsgl | |
npm install | |
npm run compile | |
cd .. | |
- name: Check licenses | |
run: node jsgl/build/src/cli.js --local . | |
# ------------------------------ | |