diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa181d1..36b799e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,10 @@ on: branches: - "*" +env: + NPM_TOKEN: "" + + jobs: build: name: Build CI diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0267935..f508a6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,7 @@ on: env: node-version: 22.x + NPM_TOKEN: "" jobs: release: @@ -25,9 +26,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ env.node-version }} - registry-url: 'https://registry.npmjs.org' - # Defaults to the user or organization that owns the workflow file - scope: '@girs' - name: Install dependencies run: yarn install @@ -41,4 +39,4 @@ jobs: - name: Publish run: yarn workspace @girs/gnome-shell npm publish --tolerate-republish --access public --tag ${{github.event.release.prerelease && 'next' || 'latest'}} --provenance env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.yarnrc.yml b/.yarnrc.yml index fb88473..4510462 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -3,3 +3,6 @@ compressionLevel: mixed enableGlobalCache: false yarnPath: .yarn/releases/yarn-4.9.2.cjs + +npmRegistryServer: "https://registry.npmjs.org" +npmAuthToken: "${NPM_TOKEN}" diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index b498d6a..056c7cb 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -1,6 +1,6 @@ { "name": "@gjsify/gnome-shell-hello-world-example", - "version": "48.0.2", + "version": "48.0.3", "description": "Simple Gnome Shell Hello World Extension example", "type": "module", "main": "dist/extension.js", diff --git a/package.json b/package.json index 49cc006..dc55ab7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gnome-shell", - "version": "48.0.2", + "version": "48.0.3", "description": "GJS TypeScript type definitions for GNOME Shell Extensions", "main": "src/index.js", "type": "module", diff --git a/packages/gnome-shell/package.json b/packages/gnome-shell/package.json index ce8a673..27bc9d7 100644 --- a/packages/gnome-shell/package.json +++ b/packages/gnome-shell/package.json @@ -1,6 +1,6 @@ { "name": "@girs/gnome-shell", - "version": "48.0.2", + "version": "48.0.3", "description": "GJS TypeScript type definitions for GNOME Shell Extensions", "type": "module", "main": "./dist/index.js",