Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ON-34586 # Added CI job for building docs #60

Merged
merged 1 commit into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,23 @@ jobs:
PRE_RELEASE: 'false'
CHANGELOG_FILE: 'CHANGELOG.md'
ALLOW_EMPTY_CHANGELOG: 'false'
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install --global npm@8
- run: npm ci
- run: npm run docs
- uses: devops-infra/action-commit-push@v0.9.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_prefix: '[DOCS] '
commit_message: ${{ github.ref_name }}
target_branch: 'master'
publish:
name: NPM Publish
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Test

on: [push]
on:
push:
branches-ignore:
- 'master'
tags-ignore:
- '**'

jobs:
Test:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added

- CI job for building docs

## [4.1.0] - 2023-08-29

### Added
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ This code base is written in [TypeScript](https://www.typescriptlang.org/) so it

## Release Process

1. Checkout `main`
1. Checkout `master`

```
git checkout main
git checkout master
```

1. Get the latest code
Expand Down
2 changes: 1 addition & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Requirements

- [Node.js](https://nodejs.org/) 12.0 or newer
- [Node.js](https://nodejs.org/) 16.0 or newer
- NPM 8.0 or newer

## Installation
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"@microsoft/eslint-plugin-sdl": "^0.2.0",
"@oneblink/release-cli": "^2.0.2",
"@oneblink/release-cli": "^2.0.3",
"@oneblink/types": "github:oneblink/types",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^5.58.0",
Expand Down Expand Up @@ -56,10 +56,10 @@
"format": "prettier --write .",
"prepare": "npm run build",
"pretest": "npm run fixpack && npm run eslint",
"release": "typedoc && oneblink-release --no-name",
"release": "oneblink-release --no-name",
"start": "tsc-watch",
"test": "jest",
"types": "npm install --save-dev github:oneblink/types",
"typescript": "tsc --noEmit"
}
}
}