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",