Skip to content

Commit

Permalink
feat: add github actions #91
Browse files Browse the repository at this point in the history
  • Loading branch information
mercs600 committed Mar 29, 2021
1 parent f2f63ca commit c0e32e3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 39 deletions.
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint

on: [push, pull_request]

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
- uses: actions/setup-node@v2
with:
node-version: 12
- run: yarn --frozen-lockfile

- name: Commitlint
uses: wagoid/commitlint-github-action@v2

- name: Eslint
uses: wearerequired/lint-action@v1
with:
eslint: true

1 change: 0 additions & 1 deletion test/module.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ describe('module', () => {

test('render', async () => {
const html = await get('/')
console.log(html)
expect(html).toContain('page')
})
})

0 comments on commit c0e32e3

Please sign in to comment.