Skip to content

Commit

Permalink
deps(ci): update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Khaled Sameer <[email protected]>
  • Loading branch information
KhaledSMQ committed Nov 22, 2024
1 parent 7b45b53 commit 4237f31
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 12 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: master # Explicitly checkout master branch

- name: Fetch all tags
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
git fetch --prune --unshallow
- name: Set up Git branch
run: |
git checkout master
git pull origin master
- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -100,7 +111,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: |
yarn lerna:publish
yarn lerna publish from-git --yes --no-verify-access
- name: Cleanup NPM Authentication
if: always()
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"copy-to-modules": "node scripts/copy-to-node-modules.mjs",
"build-and-copy": "npm run build && npm run copy-to-modules",
"lerna:version": "lerna version --no-push --conventional-commits",
"lerna:publish": "lerna publish",
"lerna:publish": "lerna publish from-git --yes",
"lerna:changed": "lerna changed",
"lerna:diff": "lerna diff",
"lerna:list": "lerna list",
Expand All @@ -64,6 +64,7 @@
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@codecov/webpack-plugin": "^1.4.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@jest/globals": "^29.7.0",
Expand Down
Loading

0 comments on commit 4237f31

Please sign in to comment.