Skip to content

Commit

Permalink
chore: create a release
Browse files Browse the repository at this point in the history
Signed-off-by: Newton <[email protected]>
  • Loading branch information
iamnewton committed Oct 28, 2024
1 parent 7153bcf commit 280fbae
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .changeset/nice-knives-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@theholocron/browserslist-config": patch
"@theholocron/bundlewatch-config": patch
"@theholocron/commitlint-config": patch
"@theholocron/eslint-config": patch
"@theholocron/jest-config": patch
"@theholocron/lint-staged-config": patch
"@theholocron/prettier-config": patch
"@theholocron/storybook-config": patch
"@theholocron/stylelint-config": patch
"@theholocron/tsconfig": patch
---

Bring parity to the configs repo
23 changes: 19 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on: # yamllint disable-line rule:truthy
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
contents: write
packages: write
Expand Down Expand Up @@ -41,10 +43,16 @@ jobs:
- run: npm ci
name: Install dependencies

- run: npm publish
- uses: changesets/action@v1
name: Publish to NPM
with:
title: "chore(release): 🦋 version packages"
commit: "chore(release): 🦋 version packages"
version: npx changeset version
publish: npx changeset publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

publish-gh:
name: Publish to GitHub
Expand All @@ -65,7 +73,14 @@ jobs:
- run: npm ci
name: Install dependencies

- run: npm publish --access public
name: Publish to GitHub Packages
- uses: changesets/action@v1
name: Publish to NPM
with:
title: "chore(release): 🦋 version packages"
commit: "chore(release): 🦋 version packages"
version: npx changeset version
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 280fbae

Please sign in to comment.