Skip to content

fix naming of en dash, em dash, double low line, and double low-9 quo… #17

fix naming of en dash, em dash, double low line, and double low-9 quo…

fix naming of en dash, em dash, double low line, and double low-9 quo… #17

Workflow file for this run

name: Prepare release and publish package to NPM
on:
push:
branches:
- main
jobs:
release:
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install npm dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Build
run: npm run release
- name: Run automated release process with semantic-release
if: github.event_name == 'push'
uses: cycjimmy/semantic-release-action@v3
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}