Skip to content

Commit

Permalink
Add PR test CI (trustwallet#1997)
Browse files Browse the repository at this point in the history
* Add PR test CI

* fix syntax

* run

* Add cache

* remove unused commit script

* Disable restore-keys

* Add condition to skip install if cache true

* .

* Update packages

* Update cmc map

* node v

* temp disable cache

* on

* .

* skip check

* try new cache

* Change badge run test
  • Loading branch information
kolya182 authored Apr 27, 2020
1 parent f179615 commit e07451b
Show file tree
Hide file tree
Showing 13 changed files with 1,417 additions and 937 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/daily_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ jobs:
- name: Install Dependencies
run: npm ci
- name: Run scripts
run: |
run: |
npm run update:bep2
npm run resize
npm run format:all
npm run gen:list
- name: Run test
run: npm t
- name: Commit changes if any
if: success()
uses: stefanzweifel/[email protected]
with:
commit_user_name: trust-wallet-merge-bot
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Pull Request CI
on:
push:
branches:
- '*'
- '!master'
pull_request:
branches: [master]
jobs:
pull_request_ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- uses: bahmutov/npm-install@v1
- run: npm t
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Trust Wallet Assets Info

[![Build Status](https://dev.azure.com/TrustWallet/Assets/_apis/build/status/trustwallet.assets?branchName=master)](https://dev.azure.com/TrustWallet/Assets/_build/latest?definitionId=42&branchName=master)
![CI](https://github.com/trustwallet/assets/workflows/Daily%20Update/badge.svg)

## Overview
Hello and welcome to Trust Wallet assets info contribution guide. We appreciate your effort to open-source.
Expand Down
63 changes: 0 additions & 63 deletions azure-pipelines.yml

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e07451b

Please sign in to comment.