Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBunzy committed Oct 31, 2024
1 parent 7ce0fef commit 3cbd0c3
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# @format

name: Publish to NPM

on:
push:
branches:
- main
paths-ignore:
- '**.md'
- "**.md"

permissions:
contents: write

jobs:
publish:
Expand All @@ -15,15 +20,15 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
node-version: "20"
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: npm ci
run: npm install

- name: Build
run: npm run build
Expand All @@ -33,10 +38,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
minor-wording: 'feat,feature'
major-wording: 'BREAKING,major'
patch-wording: 'fix,patch'
rc-wording: 'rc,beta,alpha'
minor-wording: "feat,feature"
major-wording: "BREAKING,major"
patch-wording: "fix,patch"
rc-wording: "rc,beta,alpha"

- name: Publish to NPM
run: npm publish --access public
Expand Down

0 comments on commit 3cbd0c3

Please sign in to comment.