From 3cbd0c31ee26f2a137b510f98090c84c284e4f8c Mon Sep 17 00:00:00 2001 From: 0xBunzy Date: Thu, 31 Oct 2024 13:45:36 -0700 Subject: [PATCH] fix: test --- .github/workflows/publish.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7be6fed..caa068c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,3 +1,5 @@ +# @format + name: Publish to NPM on: @@ -5,7 +7,10 @@ on: branches: - main paths-ignore: - - '**.md' + - "**.md" + +permissions: + contents: write jobs: publish: @@ -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 @@ -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