From 7539d437bfaa2ead7d3710a387b90ca15accbec1 Mon Sep 17 00:00:00 2001 From: Justyna Sobolewska Date: Fri, 17 Jan 2025 09:56:45 +0100 Subject: [PATCH 1/2] Added github actions set up --- .github/CODEOWNERS | 1 + .github/workflows/ci-cd.yaml | 30 ++++++++++++++++++++++++++++++ CHANGELOG.md | 10 +++++++++- package.json | 2 +- 4 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/ci-cd.yaml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..c9ee0b4 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @Ringier-Axel-Springer-PL/namespace-all-ring-ui diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml new file mode 100644 index 0000000..d8d2697 --- /dev/null +++ b/.github/workflows/ci-cd.yaml @@ -0,0 +1,30 @@ +name: Node Library Build and Deployment +on: + push: + branches: + - master + pull_request: + branches: + - "**" + workflow_dispatch: + inputs: + is-force-build: + default: false + description: Force full build. + required: true + type: boolean +concurrency: + cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.ref }} +jobs: + ci-cd: + name: CI/CD + uses: ringier-axel-springer-pl/sdk-workflow-node-library/.github/workflows/shared.yaml@v1 + secrets: + npm-token: ${{ secrets.NPM_TOKEN }} + with: + # Possible workflow parameters: https://github.com/ringier-axel-springer-pl/sdk-workflow-node-library + is-force-build: ${{ inputs.is-force-build || false }} + test-js-framework: jest + test-js-enabled: true + node-version: "20" diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f0d6b4..259f3de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/). -## [1.1.0] - 2024-01-02 + +## [1.2.0] - 2025-01-17 + +### Added + +- [@jpalis]: Added github actions set up. + + +## [1.1.0] - 2025-01-02 ### Added diff --git a/package.json b/package.json index 8096934..8b54dd2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ringpublishing/mui-theme", - "version": "1.1.0", + "version": "1.2.0", "description": "Ring Mui Theme", "license": "LGPL-3.0-or-later", "repository": {}, From b02ad669485656d2aa356f92f3a3100ffb47a3e5 Mon Sep 17 00:00:00 2001 From: Justyna Sobolewska Date: Fri, 17 Jan 2025 11:20:50 +0100 Subject: [PATCH 2/2] added npm-registry --- .github/workflows/ci-cd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index d8d2697..4fa381f 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -28,3 +28,4 @@ jobs: test-js-framework: jest test-js-enabled: true node-version: "20" + npm-registry: npmjs