trustwallet-assets/.github/workflows/check.yml

34 lines
748 B
YAML
Raw Normal View History

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
2021-11-24 11:03:46 +00:00
- 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