From 83c161a061909ed00cb28d999b8e7235100d83fb Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Mon, 11 Mar 2024 10:49:27 +0100 Subject: [PATCH] Create npm-publish-github-packages.yml --- .../workflows/npm-publish-github-packages.yml | 25 +++++++++++++++++++ package.json | 5 +++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/npm-publish-github-packages.yml diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml new file mode 100644 index 0000000..b499a1f --- /dev/null +++ b/.github/workflows/npm-publish-github-packages.yml @@ -0,0 +1,25 @@ +name: Package + +on: + push: + branches: + - develop + +jobs: + build: + runs-on: ubuntu-latest +# permissions: +# contents: read +# packages: write + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 +# registry-url: https://npm.pkg.github.com/ +# scope: "@sweco" + - run: npm ci + - run: npm run build +# - run: npm publish +# env: +# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} 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",