ci: enable ci and cleanup readme

parent 1c7937d1
name: optimism - lint, test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-test-lint:
name: Run job on ${{matrix.node}}
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '10', '12', '14' ]
steps:
- uses: actions/checkout@v2
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
# START DEPENDENCY CACHING
- name: Cache root deps
uses: actions/cache@v1
id: cache_base
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('package.json') }}
# END DEPENDENCY CACHING
- name: Install Dependencies
run: yarn install
- name: Lint
run: yarn lint
- name: Test
run: yarn test
......@@ -12,19 +12,3 @@
BRANCH_POINT="$(git merge-base $(git rev-parse --abbrev-ref HEAD) $(git describe origin/master))"
changedPackages="$(npx lerna ls -p --since $BRANCH_POINT --include-dependents)"
```
## Goals
## Ops
https://github.com/connext/vector/tree/main/ops
https://github.com/connext/vector/blob/main/Makefile
https://github.com/connext/vector/blob/main/.github/workflows/prod.yml
https://github.com/connext/vector/blob/main/.github/workflows/feature.yml
https://www.npmjs.com/package/depcheck
## Lerna import
https://medium.com/zocdoc-engineering/lerna-you-a-monorepo-the-nuts-and-bolts-of-building-a-ci-pipeline-with-lerna-850e6a290bb2
......@@ -11,6 +11,7 @@
"lerna": "^4.0.0"
},
"scripts": {
"test": "yarn workspaces run test"
"test": "yarn workspaces run test",
"lint": "yarn workspaces run lint"
}
}
{
"$schema": "http://json.schemastore.org/prettierrc",
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"arrowParens": "always"
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment