-
-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
66 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,22 @@ | ||
name: Node.js CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
node-version: [10.x, 12.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: OS ${{ matrix.os }} ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm test |
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,44 @@ | ||
name: Integration Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: [12.x] | ||
|
||
steps: | ||
- name: Checkout yeoman-environment | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: yeoman/environment | ||
path: yeoman-environment | ||
- name: Checkout yeoman-test | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: yeoman/yeoman-test | ||
path: yeoman-test | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Run yeoman-environment test | ||
run: | | ||
cd $GITHUB_WORKSPACE/yeoman-environment | ||
npm ci | ||
npm install ${{ github.repository }}#$GITHUB_SHA | ||
npm install yeoman/yeoman-test#master | ||
npm test | ||
- name: Run yeoman-test test | ||
run: | | ||
cd $GITHUB_WORKSPACE/yeoman-test | ||
npm ci | ||
npm install ${{ github.repository }}#$GITHUB_SHA | ||
npm install yeoman/environment#master | ||
npm test |