Skip to content
Merged

Main #14

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,38 @@ permissions:
contents: write
issues: write
pull-requests: write
id-token: write

on:
push:
branches:
- main

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

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 24
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci

- name: Install dependencies
run: npm ci

- name: Publish to NPM
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "https://github.com/InMediam/design-system"
},
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
Expand Down
4 changes: 4 additions & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"./*": "./*",
"./vite": "./vite"
},
"repository": {
"type": "git",
"url": "https://github.com/InMediam/design-system"
},
"scripts": {
"lint": "eslint . --cache"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"build-storybook": "storybook build",
"deploy-storybook": "storybook-to-ghpages"
},
"repository": {
"type": "git",
"url": "https://github.com/InMediam/design-system"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"./postcss": "./postcss.config.js",
"./style": "./style/styles.css"
},
"repository": {
"type": "git",
"url": "https://github.com/InMediam/design-system"
},
"scripts": {
"lint": "eslint src --cache",
"typecheck": "tsc -b",
Expand Down
Loading