From 36d76d16f73a38da5993ddf38def856e26d22680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20St=C3=B6lzle?= Date: Sun, 7 Jul 2024 10:01:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20v6.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 37 ++++++++++++++++++------------- package-lock.json | 10 ++++----- packages/github/package.json | 2 +- packages/me/package.json | 2 +- packages/nowplaying/package.json | 2 +- packages/simpleclock/package.json | 2 +- packages/worldclock/package.json | 2 +- 7 files changed, 31 insertions(+), 26 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6800272..d2b6215 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,41 +11,44 @@ jobs: runs-on: ubuntu-latest concurrency: - group: publish-npm-${{ github.ref }} + group: ${{ github.workflow }}-npm-${{ github.ref }} cancel-in-progress: true permissions: contents: read packages: write + id-token: write env: CI: true + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - name: Checkout + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 + - name: Setup Node.js + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 16 + node-version: 20 registry-url: 'https://registry.npmjs.org' scope: '@stoe' - - name: npm install + - name: NPM config run: | npm pkg delete scripts.prepare npm install --ignore-scripts --pure-lockfile git ls-files -z . | xargs -0 git update-index --assume-unchanged - - run: npm run publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: NPM publish + run: npm run publish publish_gh: name: Publish to GitHub runs-on: ubuntu-latest concurrency: - group: publish-gh-${{ github.ref }} + group: ${{ github.workflow }}-gh-${{ github.ref }} cancel-in-progress: true permissions: @@ -54,22 +57,24 @@ jobs: env: CI: true + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - name: Checkout + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 + - name: Setup Node.js + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 16 + node-version: 20 registry-url: 'https://npm.pkg.github.com' scope: '@stoe' - - name: npm install + - name: NPM config run: | npm pkg delete scripts.prepare npm install --ignore-scripts --pure-lockfile git ls-files -z . | xargs -0 git update-index --assume-unchanged - - run: npm run publish - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: GitHub Packages publish + run: npm run publish diff --git a/package-lock.json b/package-lock.json index b1bcd79..cd4d6ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2329,7 +2329,7 @@ }, "packages/github": { "name": "@stoe/uebersicht-github-contibutions", - "version": "6.0.0", + "version": "6.0.1", "license": "MIT", "dependencies": { "@octokit/graphql": "^8.1.1", @@ -2343,7 +2343,7 @@ }, "packages/me": { "name": "@stoe/uebersicht-me", - "version": "6.0.0", + "version": "6.0.1", "license": "MIT", "devDependencies": {}, "engines": { @@ -2353,7 +2353,7 @@ }, "packages/nowplaying": { "name": "@stoe/uebersicht-nowplaying", - "version": "6.0.0", + "version": "6.0.1", "license": "MIT", "devDependencies": {}, "engines": { @@ -2363,7 +2363,7 @@ }, "packages/simpleclock": { "name": "@stoe/uebersicht-simpleclock", - "version": "6.0.0", + "version": "6.0.1", "license": "MIT", "dependencies": { "moment": "^2.30.1" @@ -2376,7 +2376,7 @@ }, "packages/worldclock": { "name": "@stoe/uebersicht-worldclock", - "version": "6.0.0", + "version": "6.0.1", "license": "MIT", "dependencies": { "dayjs": "^1.11.11" diff --git a/packages/github/package.json b/packages/github/package.json index 466dd92..5efb6cb 100644 --- a/packages/github/package.json +++ b/packages/github/package.json @@ -1,7 +1,7 @@ { "name": "@stoe/uebersicht-github-contibutions", "type": "module", - "version": "6.0.0", + "version": "6.0.1", "description": "A GitHub contibutions widget for http://tracesof.net/uebersicht", "keywords": [ "uebersicht", diff --git a/packages/me/package.json b/packages/me/package.json index b1dbe1d..fc220da 100644 --- a/packages/me/package.json +++ b/packages/me/package.json @@ -1,6 +1,6 @@ { "name": "@stoe/uebersicht-me", - "version": "6.0.0", + "version": "6.0.1", "description": "A me widget for http://tracesof.net/uebersicht", "keywords": [ "uebersicht", diff --git a/packages/nowplaying/package.json b/packages/nowplaying/package.json index 0107e26..1adb2de 100644 --- a/packages/nowplaying/package.json +++ b/packages/nowplaying/package.json @@ -1,6 +1,6 @@ { "name": "@stoe/uebersicht-nowplaying", - "version": "6.0.0", + "version": "6.0.1", "description": "A 'now playing' on Spotify/Music app widget for http://tracesof.net/uebersicht", "keywords": [ "uebersicht", diff --git a/packages/simpleclock/package.json b/packages/simpleclock/package.json index 46f7b22..b258f9d 100644 --- a/packages/simpleclock/package.json +++ b/packages/simpleclock/package.json @@ -1,6 +1,6 @@ { "name": "@stoe/uebersicht-simpleclock", - "version": "6.0.0", + "version": "6.0.1", "description": "A simple clock widget for http://tracesof.net/uebersicht", "keywords": [ "uebersicht", diff --git a/packages/worldclock/package.json b/packages/worldclock/package.json index 8ff55f7..3b6c790 100644 --- a/packages/worldclock/package.json +++ b/packages/worldclock/package.json @@ -1,6 +1,6 @@ { "name": "@stoe/uebersicht-worldclock", - "version": "6.0.0", + "version": "6.0.1", "description": "A worldclock widget for http://tracesof.net/uebersicht", "keywords": [ "uebersicht",