This repository has been archived by the owner on Jun 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
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
1 parent
d15cbec
commit 2d8dc56
Showing
2 changed files
with
40 additions
and
17 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,40 @@ | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-18.04 | ||
timeout-minutes: 30 | ||
strategy: | ||
matrix: | ||
node-version: [8, 9] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: checkout submodules | ||
shell: bash | ||
run: | | ||
git submodule sync --recursive | ||
git -c protocol.version=2 submodule update --init --force --recursive --depth=1 | ||
- name: Cache node modules | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Build & Test nodejs-agent | ||
run: cd modules/nodejs-agent && npm install && npm run check && npm link | ||
- name: Build & Test skyapm-egg-require | ||
run: cd modules/skyapm-egg-require && npm link skyapm-nodejs && npm install && npm run check |
This file was deleted.
Oops, something went wrong.