Skip to content

Commit

Permalink
Chore: Merge linting into test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Nov 29, 2021
1 parent 32c3755 commit c99e621
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 39 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/lint.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/markdown-link-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Markdown Link Check

on:
push:
branches-ignore:
- main
schedule:
- cron: '0 9 * * *' # every day at 9:00

Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ name: Test

on:
push:
branches-ignore:
- main
schedule:
- cron: '0 9 * * *' # every day at 9:00

jobs:
test:
name: Tests and linting
runs-on: ubuntu-20.04
timeout-minutes: 5

Expand All @@ -25,9 +26,14 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1

- name: Test
- name: Lint
run: yarn lint

- name: Check code-style format
run: yarn format

- name: Unit tests
run: yarn test:unit

- name: Test Build
- name: Test build
run: yarn build

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![npm version](https://img.shields.io/npm/v/@lmc-eu/cookie-consent-manager.svg)](https://www.npmjs.com/package/@lmc-eu/cookie-consent-manager)
![CI](https://github.com/lmc-eu/cookie-consent-manager/actions/workflows/lint.yaml/badge.svg)
[![CI](https://github.com/lmc-eu/cookie-consent-manager/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/lmc-eu/cookie-consent-manager/actions)

# Cookie Consent Manager

Expand Down

0 comments on commit c99e621

Please sign in to comment.