Skip to content

Commit

Permalink
Create npm-publish-github-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sweco-sedalh committed Mar 11, 2024
1 parent 1389aab commit 83c161a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
@@ -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}}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 83c161a

Please sign in to comment.