Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
chore: add lint workflow (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Feb 18, 2021
1 parent 509aff2 commit 916dff8
Show file tree
Hide file tree
Showing 3 changed files with 1,537 additions and 6 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/lint.yaml
@@ -0,0 +1,41 @@
name: Lint

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Lint changelog file
uses: docker://avtodev/markdown-lint:v1
with:
rules: "/lint/rules/changelog.js"
config: "/lint/config/changelog.yml"
args: "./CHANGELOG.md"

- name: Lint markdown files
uses: docker://avtodev/markdown-lint:v1
with:
args: "./**/*.md -i ./CHANGELOG.md"

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

- name: Build 🔧
run: npm run compile

- name: Generate Documentation 📜
run: npm run docs

- name: Test Docs
run: npm run docs-test
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,10 @@
# CHANGELOG

All notable changes to this project will be documented in this file.

## Unreleased

## v0.17.0

Versions previous to `0.18.0` were developed in another repository.
To see previous changelog entries see the [CHANGELOG.md](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md).

0 comments on commit 916dff8

Please sign in to comment.