Skip to content

Commit

Permalink
Repo standardization (MetaMask#5053)
Browse files Browse the repository at this point in the history
* Repo standardization

- Adding GH actions workflow in place of circleci

- Adding CODEOWNERS file

- Adding basic .editorconfig file

- Adding basic .gitattributes file

- Specifying a minimum node version of 12

* PR Review Feedback

* Updating CODEOWNERS

* Adding 409H to CODEOWNERS

* Adding Node 10 to test versions
  • Loading branch information
ryanml authored May 27, 2021
1 parent df63a77 commit 7c78bd4
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .circleci/config.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto

yarn.lock linguist-generated=false
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

* @MetaMask/devs @xrn @409H
30 changes: 30 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Test

on:
push:
branches: [ master ]
pull_request:

jobs:
build-test:
name: Build and Test
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn --frozen-lockfile
- run: yarn buildSample
- run: yarn ci
all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-20.04
needs:
- build-test
steps:
- run: echo "Great success!"
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v10

0 comments on commit 7c78bd4

Please sign in to comment.