diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b69b488..39897e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,12 @@ name: Release on: [push] +permissions: + contents: write + issues: write + pull-requests: write + id-token: write + jobs: release: runs-on: ubuntu-latest @@ -11,8 +17,11 @@ jobs: with: fetch-depth: 0 - - name: Setup Node - uses: actions/setup-node@v3 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 24 + registry-url: 'https://registry.npmjs.org' - uses: pnpm/action-setup@v4 @@ -25,5 +34,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: pnpm run release diff --git a/package.json b/package.json index ecd490f..7457cbc 100644 --- a/package.json +++ b/package.json @@ -55,12 +55,14 @@ "webpack": "^5.99.9" }, "peerDependencies": { - "storybook": "^10.0.0 || ^10.0.0-0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0", + "storybook": "^10.0.0 || ^10.0.0-0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0 || ^10.4.0-0", "webpack": "^5.0.0" }, "packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true, + "registry": "https://registry.npmjs.org/" }, "storybook": { "displayName": "Styling-Webpack",