mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
34 lines
748 B
YAML
34 lines
748 B
YAML
name: Check
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
workflow_dispatch:
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
- name: Run check
|
|
run: npm run check
|
|
- name: Run test
|
|
run: npm t
|
|
- name: Run lint
|
|
run: npm run lint
|
|
|
|
- name: Set up Go 1.17
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
id: go
|
|
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Run check (sanity only)
|
|
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=sanity-check
|