Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 916dff8

Browse files
authored
chore: add lint workflow (#2)
1 parent 509aff2 commit 916dff8

File tree

3 files changed

+1537
-6
lines changed

3 files changed

+1537
-6
lines changed

.github/workflows/lint.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Lint changelog file
17+
uses: docker://avtodev/markdown-lint:v1
18+
with:
19+
rules: "/lint/rules/changelog.js"
20+
config: "/lint/config/changelog.yml"
21+
args: "./CHANGELOG.md"
22+
23+
- name: Lint markdown files
24+
uses: docker://avtodev/markdown-lint:v1
25+
with:
26+
args: "./**/*.md -i ./CHANGELOG.md"
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
31+
- name: Lint
32+
run: npm run lint
33+
34+
- name: Build 🔧
35+
run: npm run compile
36+
37+
- name: Generate Documentation 📜
38+
run: npm run docs
39+
40+
- name: Test Docs
41+
run: npm run docs-test

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CHANGELOG
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## Unreleased
6+
7+
## v0.17.0
8+
9+
Versions previous to `0.18.0` were developed in another repository.
10+
To see previous changelog entries see the [CHANGELOG.md](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md).

0 commit comments

Comments
 (0)