Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: add github actions CI
Keeping Azure DevOps one for now as a comparison point
  • Loading branch information
sinedied committed Dec 10, 2019
commit 6ca67ec3f80ab51782f3082dec6a23457ce66b45
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: build
on:
push
schedule:
- cron: '0 12 * * 1'

jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
node-version: [10.x, 12.x]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm install
npm link
env:
CI: true

- name: Run unit tests
run: |
npm run lint
bash -c "scripts/test.sh"