Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Commit

Permalink
test: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Aug 7, 2020
1 parent f9cfbde commit 9a62f86
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions __tests__/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build
# This workflow is triggered on pushes to the repository.
on: [push]

jobs:
build:
# Job name is Greeting
name: Build
# This job runs on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: install
run: npm i
- name: lint
run: npm run lint
- name: test
run: npm run test

0 comments on commit 9a62f86

Please sign in to comment.