mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-04 23:30:22 +00:00
35 lines
740 B
YAML
35 lines
740 B
YAML
name: "check-compilation"
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
check-compiles:
|
|
name: "Check Aqua compiles"
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: ~/.npm
|
|
key: ${{ runner.os }}-v1-node-${{ hashFiles('**/package-lock.json') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-v1-node
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 14
|
|
|
|
- name: Install aqua compiler
|
|
run: npm install -g @fluencelabs/aqua-cli
|
|
|
|
- name: Check compilation
|
|
run: aqua-cli -i . -o /tmp
|