Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): try out github actions
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Branch push | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [8.x, 10.x, 12.x] | ||
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install | ||
run: | | ||
npm install | ||
npx lerna bootstrap --concurrency=1 | ||
- name: Lint | ||
run: npx lerna run lint | ||
- name: Build | ||
run: | | ||
npx lerna run sass | ||
npx lerna run dart | ||
- name: Test | ||
run: | | ||
npm run karma-single | ||
env: | ||
CI: true |