Skip to content

Initial version (#1) #1

Initial version (#1)

Initial version (#1) #1

Workflow file for this run

name: publish
on:
push:
branches: [main]
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 20
- run: npm ci
- uses: pascalgn/npm-publish-action@4f4bf159e299f65d21cd1cbd96fc5d53228036df
with:
tag_name: "v%s"
tag_message: "v%s"
commit_pattern: "^Release version (\\S+)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}