Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matteovivona committed Feb 7, 2023
1 parent 1a2c8c4 commit b2009e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 314 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
with:
version: 7

- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.DUCKTORS_NPM_TOKEN }}" > .npmrc

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
Expand All @@ -54,7 +51,8 @@ jobs:
with:
publish: pnpm release
createGithubReleases: true
commit: "chore(release): update monorepo packages versions"
commit: "Release: update monorepo packages versions"
title: "Upcoming Release Changes"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.DUCKTORS_NPM_TOKEN }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "pnpm turbo build --color",
"test": "turbo run test",
"preinstall": "npx only-allow pnpm",
"release": "pnpm publish -r --access=public --no-git-checks",
"release": "changeset publish",
"precommit": "pnpm install",
"lint": "rome check .",
"format": "rome format --write .",
Expand All @@ -17,7 +17,6 @@
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.0",
"@vitest/coverage-istanbul": "^0.28.4",
"coveralls": "^3.1.1",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"rome": "11.0.0",
Expand Down
Loading

0 comments on commit b2009e9

Please sign in to comment.