Skip to content

Commit

Permalink
Add deployments to CI and update both CI and CD to tag the deployed v…
Browse files Browse the repository at this point in the history
…ersion as 'next'
  • Loading branch information
jamesrweb committed Feb 15, 2025
1 parent 08e20c6 commit 80c196f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ jobs:
- uses: JS-DevTools/npm-publish@v3
with:
access: "public"
tag: "next"
token: ${{ secrets.NPM_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,18 @@ jobs:

- name: Build
run: pnpm build

npm:
runs-on: ubuntu-latest
steps:
- uses: P5-wrapper/[email protected]

- name: Build the component
run: pnpm build:component

- uses: JS-DevTools/npm-publish@v3
with:
access: "public"
tag: "next"
dry-run: true
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 80c196f

Please sign in to comment.