-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(actions): cherry-pick gh actions to 6.x (#5582)
* build(actions): setup initial gh actions script * build(actions): include node.js 14 * test(api): update fixtures * build: Fix api_guardian params Co-authored-by: Ben Lesh <[email protected]>
- Loading branch information
Showing
7 changed files
with
298 additions
and
219 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,38 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
types: ['opened', 'reopened', 'synchronize'] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [ '11', '12', '13', '14' ] | ||
|
||
name: Node ${{ matrix.node }} build | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: install | ||
run: | | ||
npm install -g npm@latest | ||
npm ci | ||
- name: lint | ||
run: npm run lint | ||
- name: build | ||
run: npm run build_all | ||
- name: test | ||
run: | | ||
npm test | ||
npm run test:side-effects | ||
- name: dtslint | ||
run: npm run dtslint | ||
- name: api_guardian | ||
run: npm run api_guardian | ||
|
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,28 @@ | ||
name: CI (ts@latest) | ||
|
||
on: | ||
pull_request: | ||
types: ['opened', 'reopened', 'synchronize'] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [ '13' ] | ||
|
||
name: ts@latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: build | ||
run: | | ||
npm install -g npm@latest | ||
npm ci | ||
npm install --no-save typescript@latest | ||
npm run build_all | ||
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
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
Oops, something went wrong.