Skip to content

Add support for none as changelog type (#29) #32

Add support for none as changelog type (#29)

Add support for none as changelog type (#29) #32

Workflow file for this run

name: Publish
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches:
- "main"
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
environment: npm
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v2
name: Install pnpm
- run: pnpm install
name: Install dependencies
- run: pnpm check-version-mismatch
name: Check dependencies are consistent
- run: pnpm run build
name: Build
- run: pnpm run test
name: Build
- run: pnpm run check-format
name: Check formatting
- run: pnpm run lint
name: Lint
- run: |
git status --porcelain
git diff --no-ext-diff --quiet --exit-code
name: Check not out of date generated files
- run: pnpm -r publish --access public --no-git-checks
name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}