Skip to content

Commit

Permalink
prepare for publishing
Browse files Browse the repository at this point in the history
- clean up LICENSE
- update description and keywords
- setup github packages
- setup scope
  • Loading branch information
bonartm committed Apr 18, 2021
1 parent a933f1e commit 1460e02
Show file tree
Hide file tree
Showing 5 changed files with 6,844 additions and 1,170 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
name: Node.js Package

name: Publish
on:
release:
types: [created]

jobs:
publish-gpr:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@bonartm'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@bonartm:registry=https://npm.pkg.github.com
6 changes: 1 addition & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<%= pkg.name %>
Generated: <%= moment().format('YYYY-MM-DD') %>
Version: <%= pkg.version %>

The MIT License

Copyright (c) 2020 Malte Bonart https://maltebonart.de
Copyright (c) 2020-2021 Malte Bonart https://maltebonart.de

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 1460e02

Please sign in to comment.