Skip to content

feat: allow to pass a spec as an object #14

feat: allow to pass a spec as an object

feat: allow to pass a spec as an object #14

Workflow file for this run

name: Release
on:
push:
branches:
- master
- alpha
- beta
- next
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js v16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test:ci
env:
CI: true
- name: Collect coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build package
run: npm run build
env:
CI: true
- name: Build release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm i -g semantic-release@17 @semantic-release/git@9 @semantic-release/changelog@5
semantic-release