Skip to content

Commit

Permalink
build: use package based CI (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Feb 24, 2020
1 parent 57594ce commit b596056
Show file tree
Hide file tree
Showing 84 changed files with 208 additions and 905 deletions.
59 changes: 21 additions & 38 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,50 +8,33 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [8, 10, 12, 13]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm install
- run: npm test
windows:
runs-on: windows-latest
package: [
'auto-label',
'blunderbuss',
'buildcop',
'conventional-commit-lint',
'failurechecker',
'gcf-utils',
'generate-bot',
'header-checker-lint',
'label-sync',
'merge-on-green',
'publish',
'release-please',
'trusted-contribution'
]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: echo ./packages/${{ matrix.package }}
- run: cd ./packages/${{ matrix.package }}
- run: npm install
working-directory: ./packages/${{ matrix.package }}
- run: npm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
working-directory: ./packages/${{ matrix.package }}
- run: npm run lint
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm run docs-test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm test
- run: ./node_modules/.bin/c8 report --reporter=text-lcov | npx codecov@3 -t ${{ secrets.CODECOV_TOKEN }} --pipe
working-directory: ./packages/${{ matrix.package }}
48 changes: 0 additions & 48 deletions .github/workflows/ci.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .jsdoc.js

This file was deleted.

1 change: 0 additions & 1 deletion .kokoro/.gitattributes

This file was deleted.

24 changes: 0 additions & 24 deletions .kokoro/common.cfg

This file was deleted.

34 changes: 0 additions & 34 deletions .kokoro/continuous/node10/common.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions .kokoro/continuous/node10/docs.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions .kokoro/continuous/node10/lint.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions .kokoro/continuous/node10/samples-test.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions .kokoro/continuous/node10/system-test.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions .kokoro/continuous/node10/test.cfg

This file was deleted.

24 changes: 0 additions & 24 deletions .kokoro/continuous/node12/common.cfg

This file was deleted.

Empty file removed .kokoro/continuous/node12/test.cfg
Empty file.
24 changes: 0 additions & 24 deletions .kokoro/continuous/node8/common.cfg

This file was deleted.

Empty file removed .kokoro/continuous/node8/test.cfg
Empty file.
25 changes: 0 additions & 25 deletions .kokoro/docs.sh

This file was deleted.

33 changes: 0 additions & 33 deletions .kokoro/lint.sh

This file was deleted.

Loading

0 comments on commit b596056

Please sign in to comment.