Skip to content

fix: return proper message id (#9) #70

fix: return proper message id (#9)

fix: return proper message id (#9) #70

Workflow file for this run

name: build
on: ["push", "pull_request"]
jobs:
test:
name: Build and test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
- name: Test and generate coverage
run: |
npm ci
npm run test:prod
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./.coverage/lcov.info
release:
name: Release
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
needs: test
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install dependencies
run: |
npm ci
npm run build
npm run build:docs
- name: Publish docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: docs
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release