From 93e1addf82b1176bf99589a9289c2e5970e3b79d Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Mon, 11 Mar 2024 10:53:51 +0100 Subject: [PATCH] Update npm-publish-github-packages.yml --- .github/workflows/npm-publish-github-packages.yml | 4 ++++ package.json | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index 5b8ca47..b53b3cd 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -8,12 +8,16 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: read + packages: write steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 16 registry-url: https://npm.pkg.github.com/ + scope: "@sweco" - run: npm ci - run: npm run build - run: npm publish diff --git a/package.json b/package.json index 01332c6..f5fff7c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,10 @@ { "name": "@sweco/theme-mantine", - "private": true, "version": "0.0.0", + "repository": { + "type": "git", + "url": "https://github.com/sweco-sedalh/sweco-theme-mantine.git" + }, "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts",