Skip to content

Commit

Permalink
Merge pull request #2 from mvanroon/feature/simplify-github-actions
Browse files Browse the repository at this point in the history
merge github actions
  • Loading branch information
mvanroon authored Apr 10, 2021
2 parents a671e52 + 0d5b70e commit da75e54
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 61 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/lint.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Build, lint and test

on: [push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'

- name: 'Install Dependencies'
id: install
run: yarn

- name: Run prettier
run: yarn prettier -c ./src

- name: Run eslint
run: yarn eslint ./src --color --max-warnings 0

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'

- name: 'Install Dependencies'
id: install
run: yarn

- name: 'Build Project'
id: build
run: yarn build

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'

- name: 'Install Dependencies'
id: install
run: yarn

- name: Run rests
run: yarn test

19 changes: 0 additions & 19 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit da75e54

Please sign in to comment.