Skip to content

Commit

Permalink
build: package names fixes to the scope and switched fully to publish…
Browse files Browse the repository at this point in the history
…ing via semantic-release-action [no-ci]
  • Loading branch information
arturwojnar committed Mar 25, 2024
1 parent 4a2b5d1 commit 6a514b4
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 28 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,14 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build
run: npm run build
env:
NODE_ENV: production

- name: Set public publishing
run: npm config set access public

- name: Publish package on NPM 📦
run: npm publish --ws
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_ENV: production
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6a514b4

Please sign in to comment.