Skip to content

Commit

Permalink
chore: construct workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
surelle-ha committed Nov 1, 2024
1 parent 90d9f0a commit c6e9c4f
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: RCN Registry
name: Registry

on:
push:
Expand All @@ -17,19 +17,9 @@ jobs:
registry-url: https://npm.pkg.github.com/
scope: "@surelle-ha"

- run: npm ci
- run: npm install

- run: npm run build

- name: Commit changes if needed
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
if [[ $(git status --porcelain) ]]; then
git add .
git commit -m "Build artifacts generated"
fi
- run: npx lerna publish from-package --yes
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c6e9c4f

Please sign in to comment.