Skip to content

[RELEASE] 4.1.1

[RELEASE] 4.1.1 #31

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
name: Github Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker://antonyurchenko/git-release:v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRAFT_RELEASE: 'false'
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
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 test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'