Skip to content

Commit

Permalink
Merge pull request #541 from MisRob/publish-action
Browse files Browse the repository at this point in the history
GitHub Actions workflow to publish a new release on npm
  • Loading branch information
MisRob authored Feb 13, 2024
2 parents 666d350 + 10029b5 commit a705790
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish (pre)release to npm

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '10.x'
registry-url: 'https://registry.npmjs.org'
- run: npm publish
env:
# NPM_API_TOKEN is an organization-level secret
NODE_AUTH_TOKEN: ${{ secrets.NPM_API_TOKEN }}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ Changelog is rather internal in nature. See release notes for the public overvie

[#543]: https://github.com/learningequality/kolibri-design-system/pull/543

- [#541]
- **Description:** Add a GitHub Actions workflow to publish a new release on npm
- **Products impact:** none
- **Addresses:** https://github.com/learningequality/kolibri-design-system/issues/532
- **Components:** -
- **Breaking:** -
- **Impacts a11y:** -
- **Guidance:** -

[#541]: https://github.com/learningequality/kolibri-design-system/pull/541

- [#535]
- **Description:** Added text prop in the KToolTip component as an alternative to the slot
- **Products impact:** Choose from - bugfix
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kolibri-design-system",
"version": "v1.3.0",
"version": "3.0.0",
"private": false,
"description": "The Kolibri Design System defines common design patterns and code for use in Kolibri applications",
"license": "MIT",
Expand Down

0 comments on commit a705790

Please sign in to comment.