Skip to content

Commit

Permalink
chore: prepare for publishing to npmjs.com
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Steiner <[email protected]>
  • Loading branch information
kosmoz committed Feb 29, 2024
1 parent 4cf613c commit 2f69fbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@ jobs:
with:
node-version: "20"
cache: npm
registry-url: "https://npm.pkg.github.com"
scope: "@glasskube"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Publish to GitHub Packages
run: npm publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
"name": "@glasskube/theme",
"version": "0.1.1",
"description": "The official Glasskube Theme",
"homepage": "https://www.glasskube.eu/",
"homepage": "https://glasskube.dev/",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/glasskube/theme.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"files": [
"index.scss",
"scss/**/*.scss",
Expand Down

0 comments on commit 2f69fbe

Please sign in to comment.