Skip to content

Commit

Permalink
Implement NPM publish worklfow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico Herwig committed Feb 5, 2021
1 parent fa3e1df commit c6ca028
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: npm Publish
name: Node.js Package

on: push
on:
release:
types: [created]

jobs:
publish:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.0] - 2021-02-05
### Added
- NPM Publish Workflow via Github Actions

## [0.0.0] - 2021-01-28
### Added
- Initial implementation

[Unreleased]: https://github.com/kellerkinderDE/eslint-config/compare/0.0.0...HEAD
[Unreleased]: https://github.com/kellerkinderDE/eslint-config/compare/0.1.0...HEAD
[0.1.0]: https://github.com/kellerkinderDE/eslint-config/compare/0.0.0...0.1.0
[0.0.0]: https://github.com/kellerkinderDE/tailwind-config/releases/tag/0.0.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kellerkinder/tailwind-config",
"version": "0.0.0",
"version": "0.1.0",
"description": "Kellerkinder corporate design tailwind config",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c6ca028

Please sign in to comment.