Skip to content

Commit

Permalink
chore(ci): use github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Feb 13, 2020
1 parent 1c84de2 commit 68db508
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 127 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test

on: [push]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run setup
npm test
cd samples/intro
npm i
npm run build
env:
test: true
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.3
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage/clover.xml
127 changes: 0 additions & 127 deletions azure-pipeline.yml

This file was deleted.

0 comments on commit 68db508

Please sign in to comment.