Skip to content

Commit

Permalink
fix: publish nightly release for all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed Jan 29, 2024
1 parent fed99a6 commit 4e76697
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/reusable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,19 +289,19 @@ jobs:
run: |
git config user.email "${{ github.actor }}@users.noreply.github.com"
git config user.name ${{ github.actor }}
-
name: Install Dagger
uses: dagger/dagger-for-github@v3
with:
install-only: true
version: "0.2.36"
-
name: Verify Docker image
run: |
dagger project init
dagger project update
dagger project update "github.com/3box/pipeline-tools/ci"
dagger do verify -p ${{ env.DAGGER_PLAN }}
# -
# name: Install Dagger
# uses: dagger/dagger-for-github@v3
# with:
# install-only: true
# version: "0.2.36"
# -
# name: Verify Docker image
# run: |
# dagger project init
# dagger project update
# dagger project update "github.com/3box/pipeline-tools/ci"
# dagger do verify -p ${{ env.DAGGER_PLAN }}
-
name: Initialize and build code
run: npm ci && npm run build
Expand All @@ -313,6 +313,4 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN
# This step can fail if nothing changed that warranted a new release. This is a nightly release and best
# effort, so this is ok.
npm run publish:nightly -- --yes || true
npm run publish:nightly -- --yes
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"publish:release-candidate-followup": "npx lerna publish --dist-tag next --preid rc --no-verify-access --conventional-prerelease",
"publish:release": "npx lerna publish --dist-tag latest --create-release github --no-verify-access --conventional-graduate bump minor",
"publish:hotfix": "npx lerna publish --dist-tag latest --no-verify-access --conventional-graduate bump patch",
"publish:nightly": "npx lerna publish --dist-tag nightly --no-verify-access --no-push --canary --preid nightly",
"publish:nightly": "npx lerna publish --dist-tag nightly --no-verify-access --no-push --canary prerelease --preid nightly --force-publish",
"format": "npx prettier --write 'packages/**/src/**/*{.ts,.tsx,.js}'",
"lint": "npx lerna run lint && npx prettier --check packages/**/src/**/*.ts",
"clean": "npm run clean:deps && npm run clean:coverage && npm run clean:build-artifacts",
Expand Down

0 comments on commit 4e76697

Please sign in to comment.