Skip to content

Commit

Permalink
Merge pull request #3 from ldiego73/docs
Browse files Browse the repository at this point in the history
feature: create multiple actions
  • Loading branch information
ldiego73 committed Jun 18, 2020
2 parents 4d192fb + 8ff3230 commit dca383a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/node-pull.js.yml
@@ -0,0 +1,32 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI

on:
pull_request:
branches: [develop]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"

- name: Install dependencies
run: yarn --frozen-lockfile

- name: Lint
run: yarn lint

- name: Unit Test
run: yarn test:unit
Expand Up @@ -6,8 +6,6 @@ name: CI
on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
build:
Expand Down

0 comments on commit dca383a

Please sign in to comment.