diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b5d7e6..de4eeec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,26 +4,33 @@ 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 @@ -31,4 +38,4 @@ jobs: publish: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_PROVENANCE: true \ No newline at end of file diff --git a/package.json b/package.json index c4738c5..7a65a7f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/config/package.json b/packages/config/package.json index 3ad3a26..8e07eb6 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -6,6 +6,10 @@ "./*": "./*", "./vite": "./vite" }, + "repository": { + "type": "git", + "url": "https://github.com/InMediam/design-system" + }, "scripts": { "lint": "eslint . --cache" }, diff --git a/packages/docs/package.json b/packages/docs/package.json index 32a7efe..00ec6d0 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -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", diff --git a/packages/ui/package.json b/packages/ui/package.json index 3e8c4de..8afcfe6 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -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",